GDG Create syntax ?
Answers were Sorted based on User's Feedback
Answer / duraiece2001
//JOB1 JOB (A123),DURAI,NOTIFY=&SYSID,CLASS=A,
// MSGLEVEL=(1,1)
//STEP1 EXEC PGM=IDCAMS
//SYSIN DD *
DEFINE GDG(NAME(FINANCES.MONTHLY) -
LIMIT(5) -
NOEMPTY -
SCRATCH)
/*
//
Is This Answer Correct ? | 26 Yes | 0 No |
Answer / ravichandra ch
//JOB1 JOB NOTIFY=&SYSID
//STEP1 EXEC PGM=IDCAMS
//SYSIN DD *
DEFINE GDG(NAME(FINANCES.MONTHLY) -
LIMIT(5) -
NOEMPTY/EMPTY -
SCRATCH/NOSCRATCH) -
/*
//
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / roman g.
Every answer here causes RC16 after run.
The reason is missing SYSPRINT DD in JCL.
...
//SYSPRINT DD SYSOUT=*
...
Is This Answer Correct ? | 7 Yes | 2 No |
In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step
what is DD statement is used in JCL?
Explain how can the attributes of one sms dataset be copied to another dataset?
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
what r the types of job control statements?
you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file externally.how will u overcome it.
My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
Can we give two user name in NOTIFY parameter in JOBCARD
what are the technical terms for // /* in jcl
how to create a member or sequential dataset through tso command??
Differentiate between addressing mode and run mode.