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

If we want to see the eliminated duplicate record thru SORT, how its output file will be managed

6 Answers   Syntel,


Explain about File Tailoring

1 Answers  


//step#3 exec pgm = hkbc762 what is wrong with the syntax?

3 Answers  


how many max steps can we use in a job? pls answer to my question

3 Answers   TCS,


How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,


What are the common keyword parameters in both job and exec statements

4 Answers   Cap Gemini,


What is Uncatalog dataset? How can we access/use them?

1 Answers  


I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?

2 Answers   IBM,


What are the kinds of job control statements?

3 Answers  


is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?)

3 Answers   HSBC,


Explain how can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


Categories