Answer Posted / dedicated_programmer
Thanks Karthik,
But using,
ALTER -
GDG1(generation1) -
NEWNAME (GDG1(gen))
/*
will alter the name of the GDG member.
BUT IS THE BELOW ALSO CORRECT ? To change the name of the GDG.
ALTER -
GDG1 -
NEWNAME (GDG2)
/*
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how to compare two datasets without using superce because output is limited to 133 bytes
Explain the function of //cntl statement?
how can you check if a file is empty using jcl?
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) ?
Differentiate between the joblib and the steplib statements?
Is condition checking possible in jcl?
what is the JCL statement consists of?
Explain how can the attributes of one sms dataset be copied to another dataset?
When space is allocated for an output dataset, what units can be used?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
How is a type of file defined in the jcl that executes the cobol program?
Explain the job statement in jcl?
What are the jcl procedures?
when does a dataset go uncataloged?