Thank you. That looks like it would do the trick. I think I'll just use PUSH.
I think I was remembering SAS, or maybe academic versions of  PASCAL or FORTRAN


> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> Behalf Of Seymour J Metz
> Sent: Friday, August 14, 2020 1:09 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Rexx detail, or things I dont do often enough
> 
> ">>-SOURCELINE(--+---+--)---------------------------------------><
>                 '-n-'
> 
> returns the line number of the final line in the program if you omit n or 0 if
> the implementation does not allow access to the source lines. If you specify
> n, returns the nth line in the program if available at the time of execution;
> otherwise, returns the null string. If specified, n must be a positive whole
> number and must not exceed the number that a call to SOURCELINE with no
> arguments returns."
> 
> 
> --
> Shmuel (Seymour J.) Metz
> https://urldefense.com/v3/__http://mason.gmu.edu/*smetz3__;fg!!JmPEg
> BY0HMszNaDT!8vFmu991KqxtSWRmpDOs5xvwyhaOusxe9DvoJyZ3SnbI3WY2
> OQsgAJDlBiDDaw$
> 
> 
> ________________________________________
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on
> behalf of Gibney, Dave <gib...@wsu.edu>
> Sent: Friday, August 14, 2020 4:04 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Rexx detail, or things I dont do often enough
> 
> I think this is what I was looking for. Couldn't find the source line access 
> in the
> fine manual.
> 
> > -----Original Message-----
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> > Behalf Of Seymour J Metz
> > Sent: Friday, August 14, 2020 1:02 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Rexx detail, or things I dont do often enough
> >
> > You can cheat. Put the data inside a comment and access the source lines.
> >
> >
> > --
> > Shmuel (Seymour J.) Metz
> >
> https://urldefense.com/v3/__http://mason.gmu.edu/*smetz3__;fg!!JmPEg
> > BY0HMszNaDT!_8ZlS18tlFSehELrkDJm-SdL4kdSh4x5MLNKPALpw8c-
> > yeSsg4Vf-GBrak71rQ$
> >
> >
> > ________________________________________
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on
> > behalf of Gibney, Dave <gib...@wsu.edu>
> > Sent: Friday, August 14, 2020 3:56 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Rexx detail, or things I dont do often enough
> >
> >    I have this vague memory of being able to have data embedded inside a
> > Rexx Exec. Some manner of data start and end delimiting lines and
> accessed
> > via looping with  PULL or PARSE.
> > I know I can just PUSH or QUEUE data onto the stack, but that's not what I
> > vaguely remember. Am I all wet, or just can't RTFM as well as I did before?
> >
> > Dave Gibney
> > Information Technology Services
> > Washington State University
> >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
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