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



what is the function of iebcompr?....is it compare record length or characteristics of a dataset?....

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

what is the function of iebcompr?....is it compare record length or characteristics of a dataset?....

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

Post New Answer

More JCL Interview Questions

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

1 Answers  


Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?

1 Answers   L&T,


Which is the most widely used batch performance monitor for DB2?

2 Answers  


once we submitted the job to the operating system, how can we cancel the job before execution?

2 Answers  


if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,


We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?

9 Answers   CSC, IBM,


how to code instream data in procedure?

3 Answers  


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.

3 Answers   Wipro,


which utility is used a dummy utility?

1 Answers   IBM,


What is difference between Return Code, user completion code, Abend code and reason Code?

2 Answers   IBM, Satyam, Wipro,


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?

1 Answers   CGI, Verizon,


Explain about LMINIT - generate a data ID for a data set

1 Answers  


Categories