Вы находитесь на странице: 1из 11

Mainframe Training

JCL Day 1 & 2

Agenda
y

Day 1 Introduction to Mainframe JCL x Basic Concept x JOB STATEMENT Day 2 EXEC STATEMENT DD STATEMENT LAB Practice DAY 3 PROCEDURES LAB Practice

Day 4 GDG JCL Utilities Day 5 JCL Utilities LAB Practice DAY 6 Advanced JCL Utilities LAB Practice

Mainframes
y y

A mainframe computer consists of the same basic types as other computer systems but has more I/O devices and larger storage capacities. The most popular form of mainframe computer is the System/370 family. A large member of the family can be configured with more than 2 billion bytes of memory storage. The processing power is another aspect of its size. Generally large computers are used to process large amount of data and supports large number of users. Another distinction among computers is the scope of the system software that is required to manage the computer systems resources so that application program can perform useful work. MVS (Multiple Virtual Storage) and Z/OS are the most popular latest Operating System.

Mainframe OS - characteristics
y

Virtual storage
a technique that lets a processor simulate an amount of main storage that is larger than the actual amount of real storage.

y y

Multiprogramming
More than one program executing at the same time.

Spooling (Simultaneous Peripherals Operations On Line)


Intercepts and redirects printer output to a disk file. Facilitates effective sharing of I/O devices and better system throughput.

y y

Batch processing Time sharing


Time sharing makes on-line, interactive processing possible.

What is JCL?
JOB CONTROL LANGUAGE A JOB is a unit of batch work and Sequential execution of programs y Need of JCL
y y

Request execution of program under MVS environment Sets the requirement for a job

The Job Entry Subsystem (JES) is the part of MVS, which manages batch jobs, and SYSOUT under MVS. y The basic responsibilities of JES are:
y

Entering the job into the system Schedule the job Job Processing Output

Various stages of JCL execution

JCL statements
y y y y

JOB EXEC DD Sample JCL

- Job Identification - Instruction for Execution - Source of data to operate

//ER5077J JOB ,,NOTIFY=&SYSUID,CLASS=D, MSGLEVEL=(1,1),MSGCLASS=X //* SAMPLE JCL //STEP1 EXEC PGM=PROGRAM1 //STEPLIB DD DSN=OPERN.CICS3.LOADLIB,DISP=SHR //SYSPRINT DD SYSOUT=* //INFILE DD DSN=ER5077.JCL.DAY2.FILE1,DISP=SHR //OUTFILE DD DSN=ER5077.JCL.DAY2.FILE2,DISP=(NEW,CATLG,DELETE), // UNIT=SYSDA,SPACE=(TRK,(10,5),RLSE), // DCB=(LRECL=80,BLKSIZE=8000,RECFM=FB)

JOB STATEMENT
ACCT NAME TYPRUN PRTY RESTART REGION PERFORM
Microsoft Office

CLASS NOTIFY MSGLEVEL MSGCLASS COND USER PASSWORD TIME

EXEC STATEMENTS
PGM PROC ACCT ADDRSPC PERFORM
Microsoft Office

COND PARM REGION TIME

DD STATEMENTS
ddname VOL DCB DSN UNIT DISP SYSMDUMP REFERBACK STEPLIB
Microsoft Office

DD * DATA SYSOUT DUMMY DLM SYSUDUMP SYSABEND JOBLIB

THANK YOU

Вам также может понравиться