can any one plzzzzzz tell the jcl code for creating ps
using idcams
Answer Posted / 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 |
Post New Answer View All Answers
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
Suppose I have five jobs to do. But I want to hold one?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Can we call instream to catalog and catalog to instream?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Differentiate between addressing mode and run mode.
Give the syntax of job specifying jcl statement.
What are the 4 fields in dd statement?
How can an in-stream dataset be terminated?
What are steplib and joblib?
Explain the jcl exec statement?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Explain how can the submitting users racf authority be overridden in a job stream?
In sms datasets, what is the function of the dd mgmtclas keyword?
In job processing, what happens in conversion stage?