I have a file with record length as 90. In this file i want to change the cols 47 to X, if the cols 11 of 13 character is '336-004-211-0' and if cols 1 of 3 character is 'S03'.
I tried with " IFTHEN " , but i can give only one condition check i.e. either condition check with cols 11 or condition check with cols 1.
This is the coding i am using as SYSIN. In the input file, if the value cols 11 is '336-004-211-0' then 'V' will be moved to cols 47 and if the cols 11 is '336-004-212-0' then 'X' will be moved to cols 47.
Now, i want change these cols 47 if the cols 11 is '336-004-211-0' and cols 1 is 'S03'. I want to do this in JCL only. Please advice me.