JCL

Defining a Logrec Log Stream

First of all and before defining a Logrec log stream, the Systems Programmer should make sure that the system in question was IPLed with a Logrec data set initialized by IFCDIP00. If this is not the case, you cannot change the Logrec recording medium from LOGSTREAM to DATASET using the […]

JCL

How to define the Logrec Data Set SYS1.LOGREC

If you want to define a Logrec Data Set, you must first allocate it and then initialize it. //IFCDIP00 JOB CLASS=A,MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID //*—————————————————————— //*  CREATE A NEW LOGREC DATASET AND INITIALIZE IT //*—————————————————————— //IFCDIP00 EXEC PGM=IFCDIP00 //SERERDS  DD  DSN=SYS1.LOGREC,DISP=(,CATLG), //         VOL=SER=MVSRES,UNIT=3390,SPACE=(CYL,3,,CONTIG) /* In this example we create and initialize Logrec Data […]

JCL

Using IEBCOPY to compress a Data Set

Here’s an example of a IEBCOPY job to compress a data set: //COMPRESS JOB (),’RMF’,NOTIFY=&SYSUID,CLASS=A,MSGLEVEL=(1,1), // MSGCLASS=X //******************************************* //* //* COMPRESS A DATA SET USING IEBCOPY //* //******************************************* //STEP1 EXEC PGM=IEBCOPY //SYSPRINT DD SYSOUT=* //INPUT DD DSNAME=SYS1.EXAMPLE.FILE,DISP=SHR //OUTPUT DD DSNAME=SYS1.EXAMPLE.FILE,DISP=SHR //SYSIN DD * COPY INDD=INPUT,OUTDD=OUTPUT /* Note that we are […]

FAQ
JCL

JCL most common operands

1. JOB Statement REGION= Requests specific memory resources to be allocated to the Job NOTIFY= User to be notified at job completion USER= Userid to assume authority to the Job TIME= Limits the amount of time a program can run TYPRUN= Delays or holds the Job from running CLASS= Directs […]