How to identify in JCL that an input file is empty without
reading it?
Answer Posted / sivakumar sekharannair
You can use IEBCOMPR
Used to compare two sequential data sets, two partitioned data sets or two PDSEs at the logical record level to verify a backup copy. Fixed, Variable, or undefined records from blocked or unblocked data sets or members can also be compared. However, you should not use IEBCOMPR to compare load modules.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How dummy is used in jcl?
how you can direct the data to spool using SYSOUT option?
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) ?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
what is use of disp parameter in dd statement?
How can unused space allocation be returned to the system when a dataset is closed?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What is the significance of addrspc parameter in exec statement?
What are the jcl procedures?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What is the syntax of JCL statement?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What is the function of //cntl statement?
List in order the hierarchical levels of jcl?