How do you send the output of a COBOL program to a member of
a PDS?
Answer Posted / suputhru
Hey Guest,
you are doing great job, keep it up.
- SK.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to pass data to a program that is coded in an exec statement?
Explain the purpose of dd dummy statement?
What are some jcl statements that are not allowed in procedures?
Explain dfsort utility?
Where can program checkpoints be stored for use in a restart?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Explain the purpose of the dd keylen parameter?
a dd statement has 2 types of parameters. Name them?
Suppose I have five jobs to do. But I want to hold one?
Where & How Do You Code Identifier In Jcl?
What does a disposition of (new,catlg,keep) for a dsn mean?
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
A dd statement consists of 4 fields. Name them?
//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 /*
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