what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
Answer Posted / dimpy19
----yes we need to include one temp file whose record size is same as that of input file record size
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Explain the function of //jcllib statement?
What are the parameter we cannot use in procedure?
what is a jcl?
What is the function of dd name parameter with a 2 part structure; audit.report?
Are there any set of rules for the names of the steps used in a job? What are they?
what is DSN parameter and DISP parameter is used for?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What is Cataloged Procedures?
what happens in conversion stage in job processing?
What is the use of disp parameter?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What do you know about jcl?
How can values be passed from the job stream to an executable program?