REXX program skips an input record



IBM's Command List programming language & Restructured Extended Executor

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.
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

These users thanked the author Pedro for the post:
collinsm (Thu Sep 22, 2022 5:35 am)
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

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
Has thanked: 7 times
Been thanked: 0 time

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
Has thanked: 7 times
Been thanked: 0 time

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.
collinsm
 
Posts: 13
Joined: Mon Sep 19, 2022 9:19 pm
Has thanked: 7 times
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post