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

what is JCLLIB and PROCLIB in jcl and their syntax

3 Answers   IBM,


How to compare 2 files using File-Aid?

1 Answers   IBM,


i need some shortcuts and tso commands can any on ehelp me in these ?

1 Answers  


how to do automated restart when a job abends?

0 Answers   IBM,


What is the use of symbol // in jcl?

0 Answers  






What are three parameters you can specify on Job statement as well as on exec stmt ?

1 Answers  


I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:

4 Answers   ITC Infotech, TCS,


Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?

3 Answers   TCS, Tech Mahindra,


what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?

1 Answers  


If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

1 Answers   IBM,


What do you know about jcl?

0 Answers  


Explain the purpose of dd dummy statement?

0 Answers  


Categories