what is the function of iebcompr?....is it compare record
length or characteristics of a dataset?...pls explain with
examples.......
Answers were Sorted based on User's Feedback
Answer / sujin james
iebcompr is a utility which is used to compare either PS and
PDS. It will return 0 when to PS/PDS is equal in their
spaace,volume,DCB characteristics. In other cases the output
will be a non zero digit.
eg: //sysut1 dd dsn=file1, disp=shr
//sysut2 dd dsn=file2, disp=shr
//sysin dd *
compare typorg=PS/PO
/*
//
file1 and file2 are the two PS/PDS to compare. typeorg=PS in
case of PS, typorg=PO in case of PDS
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / vinay sonar
It compares data set based on its record
length,size,members in case of pds.
If record length is same you get MAXCC 0 or else either 4
or 8 i dont remember
| Is This Answer Correct ? | 0 Yes | 0 No |
I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?
Are there any set of rules for the names of the steps used in a job? What are they?
If job is submitted with typerun = hold then how can we submit the same job?
what is a jcl?
Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?
How can you execute a COBOL program via SYSIN in JCL?
how are instream data terminated?
Definition of COND parameter in JCL
What is Backward Referencing ?
What is the function of the dd dcb keyword?
I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.
How to view the hexa decimal value thru file aid if copy book is not present for that particular data