From: Jeff H. <Je...@Je...> - 2022-10-22 02:45:32
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p>[cross post with <a class="moz-txt-link-abbreviated" href="mailto:ne...@gr...">ne...@gr...</a> previously]</p> <p>I am working on the NetRexx Pipelines <b>spec</b> stage, fixing a bug and adding functionality (FIELDS, etc.).</p> <p>But I am running into a NetRexx roadblock.</p> <p>I have checked out the source for the working stage, <b>spec.nrx</b>, and for testing modified it in only two ways: changed both the file name and the class name to <b>specj</b>.</p> <p>This I can compile using the <b>pipc</b> utility. But when I use this stage in a pipe, I get an error message that the class was found, but with the wrong full name. So I commented out the <b>package</b> statement (as I have done for testing many stages) and recompiled.</p> <p>Now running the pipe, it immediately returns with <b>RC=16</b>. I have added <b>trace results</b>, and nothing is executed before the RC=16.</p> <p>I can find no list or reference of NetRexx Standard Return Codes. Is there one? Knowing the history of NetRexx, I looked for Rexx Standard Return Codes. That says 16 is <b>Label not found</b>. Is that its meaning in NetRexx? Is there anyway of learning what label might have not been found?</p> <p>For the record, specj,and spec, uses the less straightforward stageExit method, where the stage processes the options then on the fly builds a new, simpler, sub-stage to read the records. I have successfully divided it into the two halves: the new options are processed and the sub-stage is created and instead of being immediately run it is put out. I can compile that and successfully use it in a pipe. I just can't get it to all work together.</p> <p>In adding FIELDS, I have enhanced the SEPARATOR for fields and words from CMS's single character to a full string. This will be useful for the character pairs CRLF, or COMMA+SPACE for examples.</p> <p>Thank you for any help you can give on this.</p> <p>Jeff Hennick</p> <br> <div width="1" style="color:white;clear:both">_._,_._,_</div> </body> </html> |