First of all - Willy - Thanks.
That's -EXACTLY- what I meant, and - more specifically -, the part that I was missing was the "&zsel trans" part.
Thanks for the bullet :-)
Second - about "Rude".
Rude is not a "young" or "newbie" factor.
It's a human factor.
Having the knowledge and seniority does NOT justify attitude, bad manners, intonation, or general unpleasant conduct.
Again - this is meant as a place to share knowledge and help. not to bully, be condescending, or otherwise unpleasant or ego-trips. showing up over and over, calling everyone stupid, and sending them to a 300 page book, does not make you "smart". nor pleasant. nor humble.
You can help, without demeaning others, or the attitude.
This is not his first reply to me, or others, in that manner.
I am a senior, with over a decade in the open, I have done some pretty amazing stuff, and if you are looking for a "newbie" child to ego trip over... well.. That's not going to pass with me.
Sometimes, if you don't have anything to contribute, or nice to say, maybe you just shouldn't say anything.
Optional response the WOULD help, but also make me WORK for it, i.e., would be - "Look at the Selection panels again". or.. "Did you remember the &zsel = trans part" or any one out of a dozen other options.
"BTW... you do not call a panel, you DISPLAY it
and here the link to the list of ISPF manuals"
is the equivalent of saying - I know, you don't, go rtfm.
Thank you. I have done my summer semester on rexx.
Other wise I wouldn't be here.
That is not helping. that is sending me to @$@%.
so.. no. not RUDE. calling someone out on misconduct is standing up for yourself. you are looking for rude? - respect is to be earned. not forced upon.
It should be noted that programs called use the CMD() option are expecting the parameter list to be in a specific format. And, even though they are programs, they are more commonly referred to as TSO commands.
Thanks! Never thought of trying the tso option directly!!
It definitely opens up some new avenues..
I'll play around with it, see how it goes!!
(Eventualky, I'm gonna work with sup-c, so trying out
the different approaches, Code wise, between addressing
from rexx, and trying to call pgm,
Is exactly the kind of stuff i call fun :-)
Much appreciated!! )
You can actually run a program from a display panel, by using inline REXX, like so:
_ type(input ) color(turq ) caps(on) hilite(uscore)
] type(output) color(blue )
# type(output) color(yellow)
" type(text ) color(blue )
+ type(text ) color(green)
"\ \Select pgm A-C\ \+
%ISPFcmd ==>_zcmd \ \+ +
.zvars = '(sel1)'
when sel1='1' then Call @Echo 'A'
when sel1='2' then Call @Echo 'B'
when sel1='3' then Call @Echo 'C'
otherwise err='Bad selection'
Inline REXX gives you much more control over your program calls.
Major difference is that a SELECTed panel stays active till you hit END or RETURN (or enter one of those commands), while a DISPLAYed panel terminates immediately whatever you press, unless of course you have some VERIFYs in there.