can any one plzzzzzz tell the jcl code for creating ps
using idcams
Answers were Sorted based on User's Feedback
Answer / bejjanki
Why you want to use "IDCAMS" when "IEFBR14" Utility is
already available.
IEFBR14 - Is used to create only files(PS/PDS).
//Jobcard
//STEP EXEC PGM=IEFBR14
//DD1 DD DSN=KK.PS.FILE,DISP=(,CATLG,DELETE),
// SPACE=(TRK,(10,2),RLSE),
// DCB=(LRECL=80,BLKSIZE=800,RECFM=FB),
//
Let me know if any concerns.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / harsha
//STEP001 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=...,DISP=...,
// DCB=...,UNIT=...,SPACE=...
//SYSIN DD DUMMY
| Is This Answer Correct ? | 6 Yes | 4 No |
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?
If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job
What are s0c1, s0c4, s0c5, s0c7 and socb?
we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?
How can a stopped job be started again?
Explain the function of a dd statement?
Explain the function of the steplib dd statement?
What is the function of a dd statement?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the DD statement for a output file?