We are using 2 files , file one has data, file two is
empty.Using jcl how can we find the other file is empty?
Answer Posted / bala
Compare the file with another known empty file. IEBCOMPR
comparison of two empty files should give non empty RC.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Must tape dataset definitions include vol=ser specifications?
//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 /*
How do you overcome this limitation ?
Is there any command to check wether the ps file is in sorted order?
what is the purpose of coding notify parameter in job statement?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
what is the use of IEBGENER utility?
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) ?
How does jcl act on a cobol code?
Where & How Do You Code Identifier In Jcl?
Is condition checking possible in jcl?
Explain about ISPF/TSO Commands
Suppose I have five jobs to do. But I want to hold one?
Can an individual step be restricted from using all the jobs allowed cpu time?
How can a fb file convert to vb file using sort program?