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 |
In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?
14 Answers Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,
I need exexution process for JCL programs
How to identify where file is empty or not? How many ways are there to identifying?
I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:
wht r different types of sort fields in jcl ?
How is a type of file defined in the jcl that executes the cobol program?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2
How to print data of sequential file to Spool..?
what is meant by jobtrac?
What is Backward Referencing ?