oucheeeeee
Technical User
- Jul 8, 2008
- 9
Hi,
I'm trying to write a rexx routine (and I've never used REXX before)to simply check col 105 in a one line VSAM file. If col 105 contains a 'P' then end with RC = (say) 01
If col 105 contains 'T' then end return code = 02
This needs to run in JCL so I'm using IKJEFT01
I'd be gratefull if anyone could either a) provide some simple code or b) give me a pointer as to which command(s) I should be using.
Many thanks,
Rob
I'm trying to write a rexx routine (and I've never used REXX before)to simply check col 105 in a one line VSAM file. If col 105 contains a 'P' then end with RC = (say) 01
If col 105 contains 'T' then end return code = 02
This needs to run in JCL so I'm using IKJEFT01
I'd be gratefull if anyone could either a) provide some simple code or b) give me a pointer as to which command(s) I should be using.
Many thanks,
Rob