What is GDG.

GDG expands to Generation Data Groups. GDGs are a group of data sets which are related to each other funtionally in a chronological order. Example: //STEP01              EXEC PGM=IDCAMS //SYSIN                 DD * DEFINE GDG (NAME(EMPLOYEE.NAME)    – LIMIT(8)                                                                   – NOEMPTY                                                                – SCRATCH) /* // NAME – is the name of the data set that is to be created.…

Details

How to write a JOB Statement in Mainframe

//userid JOB (account number, additional accounting information), programmer name, CLASS, PRTY,                     MSGCLASS, MSGLEVEL, TYPERUN, NOTIFY //EXMPLE JOB (E143, EE-ACCT-INFO), ‘RICKY’, CLASS=A, PRTY=6, MSGCLASS=A, MSGLEVEL=(1,1), TYPERUN=SCAN, NOTIFY=USERID userid – Should be 8 characters in length and a valid one. account number and additonal accounting information together constitute the Job accounting information. The accounting information and programmer…

Details