how to create gdg with out using idcams utility
Answer Posted / swati gaikwad
//jstep01 exec pgm=idcams
//SYSPRINT DD SYSOUT=*
//SYSIN DD*
DEFINE GDG-
(NAME(<GIVE THE NAME YOU WANT>)-
LIMIT(10)- /*GIVE LIMIT WHATEVER YOU WANT
NOEMPTY-
SCRATCH)
/*
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
How can unused space allocation be returned to the system when a dataset is closed?
What is the motivation behind coding class parameter in job statement?
Explain the purpose of dd * statement in jcl?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the significance of addrspc parameter in the exec statement?
What is the difference between the positional and keyword parameters? Give examples.
How do you create a temporary dataset?
define cond parameter in jcl?
Does jcl support automatic restart?
How can values be passed from the job stream to an executable program?
Explain the function of dd disp parameter?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
Explain the purpose of the dd keylen parameter?
Explain the hierarchy levels in jcl?