GDG Create syntax ?

Answers were Sorted based on User's Feedback



GDG Create syntax ?..

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

GDG Create syntax ?..

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

GDG Create syntax ?..

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

GDG Create syntax ?..

Answer / sharath

//jobname job &&sysuid
//gdg1 exec pgm=idcams
//sysin dd *
define GDG(Name(sharath.pds) -
limit(6) -
scratch -
empty/noempty
/*
//

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More JCL Interview Questions

Name some of the JCL statements that are not allowed in procs.?

1 Answers  


what do you mean By spooling? Expand SPOOL?

4 Answers  


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


how many max steps can we use in a job? pls answer to my question

3 Answers   TCS,


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

1 Answers  


What is the max blocksize for a Tape file?

2 Answers  


wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


what is DSN in JCL and what are the parameters to declare the DSN?

0 Answers  


what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......

2 Answers  


what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.

5 Answers   BirlaSoft, Infosys,


A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?

2 Answers  


Categories