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 |
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
Which is the most widely used batch performance monitor for DB2?
once we submitted the job to the operating system, how can we cancel the job before execution?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
how to code instream data in procedure?
I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.
which utility is used a dummy utility?
What is difference between Return Code, user completion code, Abend code and reason Code?
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?
Explain about LMINIT - generate a data ID for a data set