Joined: 10 May 2007 Posts: 2400 Location: Hampshire, UK
Hi! This is your First post in our Forums! So please be sure to 1) Use meaningful and descriptive Topic Title 2) Try to post your query in the relevant forum category 3) Make sure your query is not already posted and solved in our forums, Use the Search facility and avoid Reposts! If you are following the above rules, delete this message and post your query here!
I presume you did not delete the message because you did not follow points 2 and 3. Ylu also got point 1 wrong - iINREC is not a JCL statement/keyword/parameter/whatever. It is a DFSORT keyword.
It will make a new version of the current record, sourced from the current record. It will copy the first 18 bytes, then use the 21st byte to make a two-digit value (the first item in the bracket is the length), '7', '8' and '9' will become '19', and all other values will become '20' (the NOMATCH). Then bytes 21 for a length of 80 are copied, completing the new version of the record. Bytes 19 and 20 from the source are ignored, and byte 21, the source for the source of the CHANGE, is repeated as-is.