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 |
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How do you restart a PROC from a particular step?
Explain about Specifying compiler options in the PROCESS (CBL) statement
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 ?
Describe the DD statement, its meaning, syntax and keywords?
what is A-MODE and R-MODE?
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?
Differentiate between the joblib and the steplib statements?
Can an individual step be restricted from using all the jobs allowed cpu time?
can we give instream data in procedure
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the use of DUMMY statement in the JCL? What is the use of DUMMY Utility in the JCL?