IEBCOMPR Error



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

IEBCOMPR Error

Postby makdiver » Thu Jun 18, 2020 4:03 pm

Hi,

I've coded this

//STEP0150 EXEC PGM=IEBCOMPR
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSNAME=V001.AUSZ.DEPOT,
// DISP=SHR
//SYSUT2 DD DSNAME=V002.AUSZ.DEPOT,
// DISP=SHR
//SYSIN DD *
COMPARE TYPORG=PO
/*

and got this Errormessage

STEP0150,5101,D,SYSUT1 ,READ ,WRNG.LEN.RECORD,0000381C000100,BSAM

Both member are defined like this

DSN=V001.AUSZ.DEPOT,
DISP=(NEW,CATLG,DELETE),
DCB=(PDCB,RECFM=FB,LRECL=500),
SPACE=(500,(600,50),RLSE),AVGREC=K

What can I do better ?

Thanks

Michael
makdiver
 
Posts: 6
Joined: Thu Jun 18, 2020 3:54 pm
Location: Switzerland
Has thanked: 0 time
Been thanked: 0 time

Re: IEBCOMPR Error

Postby steve-myers » Thu Jun 18, 2020 5:36 pm

The message is telling you there is a difference between the declared DCB attributes of the data set and the actual data in the data set. The most common reason for this problem is the program that was supposed to write data to the data set never wrote anything to the data set.

Another problem is by stating TYPORG=PO in the IEBCOMPR control statement you are claiming the data sets are partitioned data sets, but the definition you show seems to indicate the data sets are sequential data sets. Sequential data sets do not have a PDS directory, and the error message is just telling you IEBCOMPR is trying to read the directory when there is no directory to read.

IEBCOMPR is a very stupid program and is rarely used any more. The SUPERC program that is part of ISPF is far superior.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: IEBCOMPR Error

Postby makdiver » Thu Jun 18, 2020 6:09 pm

Thanks for the fast reply !
I know that SuperC would be better - but I was looking for a routine which will work in a batch job. But I saw no example how to use SuperC.
makdiver
 
Posts: 6
Joined: Thu Jun 18, 2020 3:54 pm
Location: Switzerland
Has thanked: 0 time
Been thanked: 0 time

Re: IEBCOMPR Error

Postby willy jensen » Thu Jun 18, 2020 6:59 pm

SUPER works nicely in batch too, as a TSO batch command. Sample;
//SUPERC   EXEC PGM=IKJEFT1B            
//SYSTSPRT DD SYSOUT=*                  
//OLDDD    DD DISP=SHR,DSN=XX.TEST.LIB1
//NEWDD    DD DISP=SHR,DSN=XX.TEST.LIB2
//OUTDD    DD SYSOUT=*                  
//SYSTSIN  DD  *                        
 ISRSUPC COVSUM NARROW ALLMEMS          
//SYSIN    DD  *                        
CMPCOLM 1:100  

There are lots of options, check the manual for details.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: IEBCOMPR Error

Postby steve-myers » Thu Jun 18, 2020 7:06 pm

SUPERC runs just fine in batch, but finding documentation about how to do it is somewhat difficult. The ISPF interface is just doctoring things up so it runs in the ISPF environment and then uses ISPF browse to display the SYSPRINT data set after it runs.

In my opinion, as a result the online displays are not as useful as they could be had it been planned from the start to be exclusively ISPF.

There is documentation in this link, which I found using Google.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: IEBCOMPR Error

Postby makdiver » Fri Jun 19, 2020 11:41 am

Thanks to you all - that helps a lot !

Dif-tor heh smusma :-)
makdiver
 
Posts: 6
Joined: Thu Jun 18, 2020 3:54 pm
Location: Switzerland
Has thanked: 0 time
Been thanked: 0 time


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post