Re: Trying to Parse a LISTCAT with SORT

2022-10-23 Thread Walt Farrell
On Sat, 22 Oct 2022 10:03:49 -0500, Paul Gilmartin wrote: >On Sat, 22 Oct 2022 04:09:43 +, 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

Re: Trying to Parse a LISTCAT with SORT

2022-10-22 Thread Sri h Kolusu
>> But: With decimal point? without decimal point? Gil, DFSORT can process with or without the decimal point. Using the format UFF we strip off the decimal point. UFF (unsigned free form numeric) format extracts decimal digits (0-9) from right to left anywhere in the field to form a

Re: Trying to Parse a LISTCAT with SORT

2022-10-22 Thread Paul Gilmartin
On Sat, 22 Oct 2022 04:09:43 +, Sri h Kolusu wrote: >... > %03=(ENDBEFR=C'.',FIXLEN=8), # Node 3 > ... Thanks. I've wished for something line FIXLEN in regular expressions. On Sat, 22 Oct 2022 04:17:59 +, Sri h Kolusu wrote: >... >It is quite simple

Re: Trying to Parse a LISTCAT with SORT

2022-10-21 Thread Sri h Kolusu
>Am I reasonably close? (I don't think so...) Bonus points would be given to >convert the date from .DDD to MMDD! Gil, It is quite simple to convert the Julian date to Gregorian date using DFSORT. All you need is another IFHTEN statement to process the julian date

Re: Trying to Parse a LISTCAT with SORT

2022-10-21 Thread Sri h Kolusu
>>. I am trying to use SORT to process a LISTCAT to give me part of the DSN and >>the creation date Don, Use the following Untested DFSORT control cards which will give you the desired results. //STEP0100 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD DISP=SHR,DSN=Your Input Listcat VBA

Re: Trying to Parse a LISTCAT with SORT

2022-10-21 Thread Doug
Message me off line and I will share what works best for what we need. No pretty enough to post here but gets what I need for info Best Regards Doug . On Oct 21, 2022, at 19:31, Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: On Fri, 21 Oct 2022 16:22:56 -0500, Don

Re: Trying to Parse a LISTCAT with SORT

2022-10-21 Thread Paul Gilmartin
On Fri, 21 Oct 2022 16:22:56 -0500, Don Johnson wrote: >Hello! I just tried to post a question with embedded code and fixed >formatting, but it was rejected because HTML is not supported. > I tried a HTTP attachment. LISTSERV ignored it. >Am I reasonably close? (I don't think so...) Bonus

Re: Trying to Parse a LISTCAT with SORT

2022-10-21 Thread Paul Gilmartin
On Fri, 21 Oct 2022 16:22:56 -0500, Don Johnson wrote: >Hello! I just tried to post a question with embedded code and fixed >formatting, but it was rejected because HTML is not supported. > ??? It's supposed to be supported. Posting from the website, I'll try to attach some HTML. >So I