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

A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

1 Answers   FIS,


Explain about ISPFTTRC

1 Answers  


What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?

11 Answers   Tesco,


Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?

1 Answers   IBM,


i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

6 Answers   IBM,


Can we write same stepname for one or more steps in on job ?

2 Answers  


Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,


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

1 Answers  


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1 Answers  


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options

4 Answers   HSBC,


What is 'S0C7' abend?

9 Answers  


Categories