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 alter the parameters for the existing gdg?
after submiting the jcl.how do you know that the job has been completed.
in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
Is automatic restart possible in jcl? If yes, how?
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?
13 Answers CGI, DSRC, IBM,
when can a job time-out occur? How to overcome that?
How many positional parameters are there in job statement?
we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?
what is the COND=EVEN ? Can anyone give me an example to explain the usage.