2017-02-10 22:25:34 UTC
I'm mostly a command-driven kind of guy, rather than a menu user. I like ISPF just fine, but I mostly use my own REXX commands instead of the ISPF Edit, View and Browse menu items. That means I think it's easier to type "tso ed gen.clist" from any ISPF panel than to go back to ***@PRIM, hit '2' from there, and then type in "gen.clist" in the right field of ISREDM01 (the Edit panel).
But once I got in that habit I got tired of saying "GEN.CLIST" all the time; so I created a list of my most common DSNs and told ED, VW and BR to consult that list. And you know how it is; now that routine also translates relative GDG numbers to GoooVoos, if necessary, and knows how to spot DD names when offered one instead of a DSN, and other things like that. And the list of DSN shortcuts is not only for files I use very often but also for the ones I use occasionally but too seldom to remember; like where this particular client keeps their CFILE, or a particular system proclib, that sort of thing. And then, when I write a utility to look for "rendsn('CLEANUP')", that program will keep on working even when the DSN changes because I change it in one place (the RENDSN file) and all the programs that use that DS will be able to find it in its new location.
Ok, so I have a lot of REXXes that know and use this list of DSN shortcuts. But that list does me no good when I have to go outside my REXX commands to use the native ISPF panels. And recently, I've been doing a lot of 3.12s, which I never did much before. Now I have to remember and type out many long DSNs.
So I'm getting ambitious: What's a good way to translate 'TPARM' into 'SYS1.TXP93.PROD.PARMLIB' (or whatever) when I'm in an ISPF utility? Some possibilities:
1) Is there a way to get REXX to write a value onto the screen, as though I wrote it myself?
2) Can REXX write a value not to a position on the panel but to an ISPF variable, so that the panel will think it was written on the corresponding field of the current panel?
3) One way I know will work: I can put a dubbed copy of a panel into a private ISPPLIB of my own, and in that copy of the panel insert the REXX call for the DSN field.
Any other ideas, anyone?
***@gmail.com, cell 336 382-7313
/* Failure is the opportunity to begin again more intelligently. -ok, I found it in a fortune cookie, but it's not bad */
For TSO-REXX subscribe / signoff / archive access instructions,
send email to ***@VM.MARIST.EDU with the message: INFO TSO-REXX