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

Answer Posted / mchava

//PROC
//STEP1 EXEC PGM=PGM1
//dd1 DD dsn=file1
//dd2 DD dsn=fel2
//dd3 DD dsn=file3
//dd4 DD dsn=file4
//PROCSTEP1.dd3 DD dsn=file5
will override the dd3 file3 with file5

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2375


which parameter is use to declare the name of dataset in dd statement?

849


how to do automated restart when a job abends?

958


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


What is the significance of addrspc parameter in exec statement?

817






What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2086


Is their any set of rules for dd? Explain.

754


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1049


Explain the function of a dd statement?

750


Matching Logic in Jcl not in cobol.Could any one please answer this question

3782


What do you understand by the term job time – out and how can you overcome that?

684


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2285


How can return codes be tested before execution of a job step?

1040


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

951


What is use of restart and how to use it?

877