I have a script that I run in batch that will read an input file, manipulate data based on certain conditions and move that data to an output stem variable. The data is in x12 format so a variable number of input records will constitute a transactionset. I also eliminate some transaction sets based on certain conditions. I write my output in a DO loop from the input stem one by one. My question is if it is possible to manually set an EOF marker into my output stem if I'm eliminating the last
Don Allard wrote:set. I also eliminate some transaction sets based on certain conditions. I write my output in a DO loop from the input stem one by one. My question is if it is possible to manually set an EOF marker into my output stem if I'm eliminating the last
I have a script that I run in batch that will read an input file, manipulate data based on certain conditions and move that data to an output stem variable. The data is in x12 format so a variable number of input records will constitute a transaction
If you'd like to use EXECIO, you're probably running on z/OS and
might do better to ask on the TSO REXX listserv:
"For TSO-REXX subscribe / signoff / archive access instructions,
send email to LISTSERV@VM.MARIST.EDU with the message: INFO TSO-REXX"
Also, are you writing to a z/OS dataset or a Unix file? If the
former, you shouldn't need an EOF marker.
--
Arthur T. - ar23hur "at" pobox "dot" com
I have a script that I run in batch that will read an input file, manipulate data based on certain conditions and move that data to an output stem variable. The data is in x12 format so a variable number of input records will constitute a transactionset. I also eliminate some transaction sets based on certain conditions. I write my output in a DO loop from the input stem one by one. My question is if it is possible to manually set an EOF marker into my output stem if I'm eliminating the last
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 17:47:45 |
Calls: | 6,640 |
Files: | 12,187 |
Messages: | 5,325,086 |