Is it possiable to use a gdg in the INCLUDE statement in a
SORT jcl? I am using this because I want to change the
condition with out changing the jcl. Please provide with a
sample code.



Is it possiable to use a gdg in the INCLUDE statement in a SORT jcl? I am using this because I wan..

Answer / soni

anyways u will just give the position of file in include
stt of your sort card, the file may be ps or gdg file.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

How is a type of file defined in the jcl that executes the cobol program?

0 Answers  


How can you execute a COBOL program via SYSIN in JCL?

1 Answers  


why do we use file-aid wht r the adv of using file-aid thn in ispf

7 Answers   HCL, Tech Mahindra,


In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?

7 Answers  


What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a generation we can use +1, 0, -1 etc while with PDS member we can not ?

7 Answers   IBM,






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

0 Answers  


I need exexution process for JCL programs

0 Answers  


Explain about LMQUERY�give a dialog information about a data set

0 Answers  


Explain the purpose of dd dummy statement?

0 Answers  


Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.

9 Answers   iGate, Lehman Brothers,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?

1 Answers  


Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


Categories