In a proc i will concatinate 4 dd statements.i want to
overide 3 dd statement through jcl how?

Answer Posted / y@$w@nth

suppose your 4 dd statements inside a proc are as below

//myproc PROC
//STEP01 EXEC PGM=progname
//DD01 DD DSN=userid.base.file1
//DD02 DD DSN=userid.base.file2
//DD03 DD DSN=userid.base.file3
//DD04 DD DSN=userid.base.file4
// PEND
//STEP02 myproc
//STEP01.DD03 DD DSN=userid.base.orfile3
//

STEP01.DD03 DD DSN=userid.base.orfile3 this tells that
override the DD statement which name is DD03 inside a proc
myproc and inside STEP STEP01

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

//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 /*

1013


How to pass the parameter in parm using linkage section ? (syntax)?

747


Explain about LMFREE�free data set from its association with data ID

1116


Explain the purpose of the dd keylen parameter?

769


Give the syntax of job specifying jcl statement.

714






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

1592


What are the 2 types of parameters in dd statement?

730


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2327


How can the submitting users racf authority be overridden in a job stream?

859


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

758


Explain how can the disposition of sysout datasets be set for an entire jobstream?

729


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

914


Are there any set of rules for the names of the steps used in a job?

731


What are the jcl procedures?

735


what is “Cond= even” and “Cond=only”?

847