As usual, even though your search skills are implacable, and your links are more than a blessed go-to, I was hopping for a more concise, specific answer. perhaps even a code line (god-forbid).
The option of re-taking, or re-visiting my old REXX course, even though a general good idea, would be less than productive atm.
So, while i DO thank you, you have not really answered my question, and more like.. sent me to google it.
A thing I could, and did - myself.
Z/OS is a dying community, and part of the reason is the lack of ppl sharing direct, relevant info. like on stackOverFlow, or our newest member - ChatGPT.
If you could help with a direct reference, or code line, or example - I would appreciate it. Otherwise.. The manual, I could skim myself in the next few days.
As usual, even though your search skills are implacable, and your links are more than a blessed go-to, I was hopping for a more concise, specific answer. perhaps even a code line (god-forbid).
The option of re-taking, or re-visiting my old REXX course, even though a general good idea, would be less than productive atm.
So, while i DO thank you, you have not really answered my question, and more like.. sent me to google it.
A thing I could, and did - myself.
Z/OS is a dying community, and part of the reason is the lack of ppl sharing direct, relevant info. like on stackOverFlow, or our newest member - ChatGPT.
If you could help with a direct reference, or code line, or example - I would appreciate it. Otherwise.. The manual, I could skim myself in the next few days.
Extremely rude response, and consists of stupid mantras of young newbie-geeks…
Sorry…
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:
Code:
)Attr
_ type(input ) color(turq ) caps(on) hilite(uscore)
] type(output) color(blue )
# type(output) color(yellow)
" type(text ) color(blue )
+ type(text ) color(green)
)Body expand(\\)
"\ \Select pgm A-C\ \+
%ISPFcmd ==>_zcmd \ \+ +
#err
+
+_z+Enter selection
%1+program a
%2+program b
%3+program c
+
)Init
.zvars = '(sel1)'
)Proc
*REXX (*)
err=''
Select
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'
End
*ENDREXX
)End
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.