OLQBATCH changes BLKSIZE of SYSLST dataset
search cancel

OLQBATCH changes BLKSIZE of SYSLST dataset

book

Article ID: 396457

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

Running IDMS OLQBATCH with SYSLST going to a dataset with RECFM=FBA,  LRECL=133 and BLKSIZE=27930:

//IDMSOLQ  EXEC PGM=OLQBATCH,REGION=0K
..
..
//SYSLST   DD DISP=SHR,DSN=hlq.syslst(member) 

After executing the job the block size of the dataset is changed to 133 and RECFM=FA. Trying to read existing members in the PDS gives an I/O error.

If the output file is sequential instead of PDS it also has the blocksize changed to 133.                                                                                        
 

Environment

All IDMS releases

Resolution

Optional bit 29 will allow the existing block size on the SYSLST dataset to be used. It must have a record length of 133 and the block size must be a multiple of 133.

See documentation section Option Flags Table

0029    Allow BLKSIZE override for SYSLST for OLQ    CS98820

To implement this option add the following to RHDCOPTF and then assemble and link the RHDCOPTF module:

         #DEFOPTF OPT00029

For instructions on making changes to the RHDCOPTF module see article Turn on numbered options (optional bit settings) in RHDCOPTF.

After implementing the optional bit 29, if the dataset does not have LRECL=133 or a block size a multiple of 133, the following errors are generated:

DC507900 BASE OPEN FOR FILE SYSLST NOT SUCCESSFUL - DEFINITION ERROR RC = x'00000054'.                       
DC507111 BLOCK SIZE OF        27795, RECORD LENGTH OF          133, AND RECORD FORMAT OF FIXED-BLOCKED ASA   
         INCOMPATIBLE.