On Tue, 25 Oct 2022 08:55:09 -0500, Walt Farrell wrote:
>>>
>>>>On Sat, 22 Oct 2022 04:09:43 +0000, Sri h Kolusu  wrote:
>>>>>                      %03=(ENDBEFR=C'.',FIXLEN=8),   # Node 3
>>>>>     ...
>>>>Thanks.  I've wished for something line FIXLEN in regular expressions.
>>>
>>>Got an example of what you want in regular expressions?
>>>
>>    NONVSAM ------- MYFILE.ABLA.MIDDLE.N04.REPT3.NOTUSE
>>         DATASET-OWNER-----(NULL)     CREATION--------2022.200
>>
>>becomes:
>>    N04      REPT3    20220719 MIDDLE  
>
>Sorry; doesn't help. I should have been more specific, and started with "what 
>does FIXLEN do that you'd want to see in a regular expression?"
>
<https://www.ibm.com/docs/en/zos/2.5.0?topic=fields-parse-parameters>

See the ply cited where Sri h Kolusu addressed the OP's requirement.  Could 
this have been
done in awk or sed with regular expressions?  In REXX I used LEFT() to achieve 
the function.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to