From: Marc R. <re...@gm...> - 2023-01-16 12:37:19
|
And diskr.nrx (the diskr stage) has plenty of RC 13 In this case it is catch FileNotFoundException -- say 'File 'Arg()' Not found' Emsg(13,'Error - File "'file'" not found') Still trying to understand this pipelines thing.. Marc On 1/16/23 13:15, Marc Remes wrote: > Hi Leslie, > > method inStream of class Stage has 'Error(13,'inStream no stream selected')'. > That seems relevant in your case. > > FWIW, it's not the compiler that errors, it is a StageError; > > Marc > > > On 1/15/23 22:26, J Leslie Turriff wrote: >> Hi, >> This question is slightly related to "Question about delimited strings". >> >> When I run this pipeline >> >> | ~/bin/NetRexx >> | $ pipe '(getHelp) < getOOrexxDocs.nrx | inside %/* -- Help File Text Start -% %*/ -- >> Help File Text End -% | console' >> | NOTE: Picked up JDK_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true >> | : >> | @14:27:11,leslie@pinto rc=0 >> >> from the directory where getOOrexx.Docs.nrx resides, it produces the expected output; but >> when I run it from a different directory, e.g. >> >> | ~/bin/NetRexx/Pipelines >> | $ pipe '(getHelp) < /home/leslie/bin/NetRexx/getOOrexxDocs.nrx | inside %/* -- Help File >> Text Start -% %*/ -- Help File Text End -% | console' >> | NOTE: Picked up JDK_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true >> | RC=13 >> | @15:24:32,leslie@pinto rc=0 >> >> instead of the expected output I get someone's RC=13. Note also that the last line shows >> that the return code that bash sees is 0. >> Where does this RC=13 come from? The only return codes mentioned (In the Progamming >> Guide) are 0, 1 or 2 from the compiler. Might it be from Java? >> >> Leslie >> -- >> Platform: GNU/Linux >> Hardware: x86_64 >> Distribution: openSUSE Leap 15.4 >> NetRexx: 4.03-GA build 260-20220503-1730 >> >> >> _______________________________________________ >> netrexx-pipelines mailing list >> net...@li... >> https://lists.sourceforge.net/lists/listinfo/netrexx-pipelines |