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 step1,step2,step3 from where can i start coding cond parameter ?
Where & How Do You Code Identifier In Jcl?
In how ways you can pass the data from Jcl to cobol ?
How to execute a set of JCL statements from a COBOL program ?
how to purge 50 initiators continuously?? console commands??
Explain the hierarchy levels in jcl?
How do you handle empty files in a JCL ?
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
i have a ps with two columns eno and ename , i need to copy eno column values in one ps and ename column values in one Ps ? is it possible through iebgener . how ? thx in advance
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?