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 to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What is one line to pass PARM from JCL to COBOL?
How would you understand error(execution phase)?
how to run batch program without jcl?
Is their any set of rules for dd? Explain.
What are s0c1, s0c4, s0c5, s0c7 and socb?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Is it possible to define dd statements as you want?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
which utility is used a dummy utility?
How do you access an uncatalogued dataset in a jcl?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
i want to store 20 digits . how will u do it in cobol ?