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 order of searching of the libraries in a JCL?

4 Answers  


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

0 Answers   IBM,


01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

1 Answers  


i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

6 Answers   IBM,


Explain how can the attributes of one sms dataset be copied to another dataset?

0 Answers  






suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?

5 Answers  


is there any utility for restarting a particular step in jcl reply soon ?

5 Answers  


What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?

1 Answers   CTS,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


How do you handle empty files in a JCL ?

3 Answers   Wipro, Xansa,


Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx

7 Answers  


How to override loadlib?

0 Answers   Fiserv,


Categories