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 does jcl act on code(if you take a cobol program)?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is Cataloged Procedures?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Explain the hierarchy levels in jcl?
what is the JCL statement consists of?
Explain the function of //jcllib statement?
How to submit a jcl from cics?
What do you know about jcl?
//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 /*
What are the parameter we cannot use in procedure?
how to compare two datasets without using superce because output is limited to 133 bytes
What is the difference between the positional and keyword parameters? Give examples.
What is the purpose of the dd keylen parameter?