Try EXECUTIL EXECDD(CLOSE). May need it two times. Don Imbriale
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of John P Donnelly Sent: Thursday, September 06, 2007 11:51 AM To: [email protected] Subject: REXX - RECFM fixed or variable We are in the middle of an OS upgrade from z/OS V1R4 to Z/OS V1R7. We have a batch job that executes without errors in the z/OS V1R4 system but fails under the new z/OS V1R7 system. The job has several steps. The step that fails executes a REXX exec (SAPTRAP1) and fails with the following errors: .READY . EXECUTIL SEARCHDD(YES) .READY . %SAPTRAP1 .Invalid record format for data set allocated to file INDD. RECFM must be fixed or variable. Spanned records or records with track overflow are not supported. (*** This is TSO/E error code IRX0509E ***) .EXECIO error while trying to GET or PUT a record. (*** This is TSO/E error code IRX0670E ***) .Bad return code 20 from EXECIO DISKRU command. We resolved by coding RECFM=FB for the INDD DCB... ...IBM sent ETR to TSO/E and then to the REXX group...only suggestion we received was maybe a difference in MODEL.DSCB...but systems both point to the same one... ...any thoughts? *********************************************************************** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. *********************************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

