John, I tried your example and when the Literal stage is present the Pipe crashes like this...
349 *-* 'PIPE READER FILE' spool_id , '|asatomc' , '|literal 1 TXT' , '|printmc' >L> "PIPE READER FILE" >V> "0620" >O> "PIPE READER FILE 0620" >L> "|asatomc" >O> "PIPE READER FILE 0620 |asatomc" >L> "|literal 1 TXT" >O> "PIPE READER FILE 0620 |asatomc |literal 1 TXT" >L> "|printmc" >O> "PIPE READER FILE 0620 |asatomc |literal 1 TXT |printmc" FPLIOS292E I/O error on 00E; CSW X'02C62008 02000005', CCW X'F1600005 02C71FFB' FPLMSG003I ... Issued from stage 4 of pipeline 1 FPLMSG001I ... Running "printmc" FPLIOS293I Sense CmdRej +++ RC(292) +++ Note that in the above example the literal data is just "1 TXT". I tried that as I thought my testcase description data might be causing the problem but it crashes too. If I leave the literal stage out the Pipe finishes normally and the new PRT file is created but without the added hdr line of course. If VM release level is important... cp q vcmlevel z/VM Version 5 Release 3.0, service level 0000 z/ViCom Version 1 Release 3.1 (64 bit) Generated at 09/09/08 11:42:38 MST IPL at 11/06/08 15:40:12 MST q cmslevel CMS Level 23, Service Level 703 -- Russ Brooks -- SVM Support (aka: RLB at STLVM5) TieLine: 8-543-3024 = 408-463-3024 [EMAIL PROTECTED] Astronomy Picture of the Day: http://antwrp.gsfc.nasa.gov/apod/ TANSTAAFL CMSTSO Pipelines Discussion List <[email protected]> wrote on 11/13/2008 12:24:42 AM: > Preface in front of LITERAL is redundant. Insert the line with ASA > carraiage control after the file is converted. > > I have noticed that HLASM generates sequences of write-space followed by > eject immediate; this will generate a blank line that you cannot see with > Machine carriage control, but which becomes visible with ASA carriage > control. > > If the file contains no deliberate blank lines, you can toss them with: > > '|locate word 1' > > j. > > Try this: > > > > /* read rdr file data, add a top line, create a new PRT file */ > > 'PIPE READER FILE' spool_id , > > '|asatomc' , > > '|literal 1' space(line) , > > '|printmc' > >
