When will we need to specify Space parameter ?
Answers were Sorted based on User's Feedback
Answer / g.naveen
If we creating a new dataset either pds or ps we need to
specify Space parameter.Space parameter is keyword
parameter in dd statement of Jcl
| Is This Answer Correct ? | 13 Yes | 0 No |
if u have any need to create PDS or PS through jcl ..then
you have to SPECIFY the SPACE keyword...
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / naga
if we want to create new data set, the space is mandatory
space areas in MF are cylinder,track,blocks.
| Is This Answer Correct ? | 4 Yes | 0 No |
How to identify in JCL that an input file is empty without reading it?
I had 100 steps in jcl i want to execute first 10 steps only?
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??
How do you access an uncatalogued dataset in a jcl?
What does the TIME parameter signify ? What does TIME=1440 mean ?
how can you check if a file is empty using jcl?
i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0
whats the difference between empty and noempty of GDG?
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
How do you check the syntax of a JCL without running it?
In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???
I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?