> in fact, IKJPARS weakens EXECIO. In CMS Rexx, I can simply say: > EXECIO 1 DISKW file-spec (string It's a string!
No. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Monday, November 23, 2020 1:33 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Has anyone integrated Rexx with IKJPARS? On Thu, 19 Nov 2020 11:30:02 -0800, Charles Mills wrote: >It would appear to be a lot of work, but it would seem that "TSO format >command parsing" and Rexx would be a natural marriage. > >I have never used IKJPARS, so I don't claim to be an expert, and others >might disagree. > >The issue I am struggling with is that for all of Rexx's parsing power, >which is of course legendary, it does not seem well-suited to classic "MVS" >(for want of a better term) quoted strings. I am considering an EXEC that >would accept parameters of > >'a quoted string', 'another quoted string', simpletoken1, simpletoken2, ... > The UNIX System services comes closer. The command: myrexx 'a quoted string' 'another quoted string' simpletoken1 simpletoken2 ... not only concatenates the tokens into ARG(1) but also assigns them to __ARGV.1, __ARGV.2, __ARGV.3, __ARGV.4, ... Regina has a command line option to select Rexx-like parsing (default) or shell-like parsing. in fact, IKJPARS weakens EXECIO. In CMS Rexx, I can simply say: EXECIO 1 DISKW file-spec (string It's a string! ... (any expression). IKJPARS would prohibit this. I suspect this was a deciding factor in not providing TSO Rexx EXECIO a STRING option and requiring instead the cumbersome: X.1 = 'It''s a string!' 'EXECIO 1 DISKW file-spec (stem X.' -- gil ---------------------------------------------------------------------- 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