Answer Posted / suman
yes
//step1 exec pgm=idcams
//sysin dd *
define gdg
name(userid.source.invoice)
limit(10) max value of limit is=255
scarth/noscartch
empty/noempty
/*
//
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is the compile process of cobol program expalin with code
what is use of disp parameter in dd statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
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
What is the purpose of dd dummy statement?
what are the various stages of job processing?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
When space is allocated for an output dataset, what units can be used?
Explain dfsort utility?
What is the function of the dd mgmtclas keyword in sms datasets?
how to run batch program without jcl?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Is it possible to code instream data in a PROC?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?