REXX program skips an input record

IBM's Command List programming language & Restructured Extended Executor
User avatar
Pedro
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Skillset: ISPF
Referer: google
Location: Silicon Valley

Re: REXX program skips an input record

Postby Pedro » Thu Sep 22, 2022 3:36 am

"ALLOC F(BINDEXMP) DA("IN_BIND_DSN") MOD REUSE"

At the point where you do execio, try adding a SAY statement to confirm it is using the same data set that you think it is using.

Code: Select all

SAY 'in_bind_dsn'  IN_BIND_DSN


In line 78, try changing the '+' to '-'. It does not make sense to me, but that stands out as a difference.

update: there is logic based on the '+' sign in the PACK_LIST_LOGIC routine.
Pedro Vera

collinsm
Posts: 13
Joined: Mon Sep 19, 2022 9:19 pm
Skillset: COBOL
DB2
IMS
REXX
Endevor SCM
Referer: Internet

Re: REXX program skips an input record

Postby collinsm » Thu Sep 22, 2022 3:45 am

re: "calling the code 'terrible' "

My mistake. I have since only posted partial code.

collinsm
Posts: 13
Joined: Mon Sep 19, 2022 9:19 pm
Skillset: COBOL
DB2
IMS
REXX
Endevor SCM
Referer: Internet

Re: REXX program skips an input record

Postby collinsm » Thu Sep 22, 2022 3:52 am

Concerning what Pedro said at 4:06pm
At the point where you do execio, try adding a SAY statement to confirm it is using the same data set that you think it is using.

It is using the model JCL, even though it exists in the exception library. A message is even displayed saying that it is using the exception JCL. I will look into this.

collinsm
Posts: 13
Joined: Mon Sep 19, 2022 9:19 pm
Skillset: COBOL
DB2
IMS
REXX
Endevor SCM
Referer: Internet

Re: REXX program skips an input record

Postby collinsm » Thu Sep 22, 2022 5:29 am

The REXX has been using the wrong member, the model instead of the element. Thanks to everyone.


  • Similar Topics
    Replies
    Views
    Last post