Using IJKEFT01 or invoking edit macro directly from a member in
edit mode results in the same errors :
ADDRESS TSO "CALL 'PROD.INCNTRL.R61.LOAD(IOARKSL)' 'TRANID=IALL'"
"CALL 'PROD.INCNTRL.R61.LOAD(IOARKSL)' 'TRANID=IALL'"
RC(8) +++
Note: IKJEFT01 reports TASK IS NOT APF AUTHORIZED
ADDRESS MVS "CALL 'PROD.INCNTRL.R61.LOAD(IOARKSL)' 'TRANID=IALL'"
"CALL 'PROD.INCNTRL.R61.LOAD(IOARKSL)' 'TRANID=IALL'"
RC(-3) +++
The library is in the in the parmlib :
APF ADD
DSNAME(PROD.INCNTRL.R61.LOAD)
If I execute the program from batch jcl, the only difference is
that the program has a steplib statement but I figured I didn't need it
since the library is already allocated to my tso session.
When I perform a call for other programs that are in the linklib,
I just use the ADDRESS TSO CALL but this program is not in the linklib.
What would be the proper method of executing such a authorized program?
This e-mail (and any attachments) may contain information that is
confidential and/or protected by law. Any review, use, distribution or
disclosure to anyone other than the
intended recipient(s) is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all copies
of this message.
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
**************Play online games for FREE at Games.com! All of your favorites,
no registration required and great graphics – check it out!
(http://pr.atwola.com/promoclk/100000075x1211202682x1200689022/aol?redir=
http://www.games.com?ncid=emlcntusgame00000001)
Thanks for clearing that up Rob,
Gil.
Robert Zenuk <Robz...@AOL.COM>
Sent by: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
10/28/2008 02:17 PM
Please respond to
TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
Subject
Re: [TSO-REXX] APF authorized program getting RC(3)
David Speake
T. M. Floyd and Co.
Mainframe Programming Support
BlueCross and BlueShield of South Carolina
Columbia South Carolina
United States of America
803-264-8003
------------------( Forwarded letter 1 follows )---------------------
Date: Tue, 28 Oct 2008 14:52:06 -0500
Reply-To: TSO.REXX.Discussion.List[TSO-REXX]@VM.MARIST.EDU.INET
Sender: TSO.REXX.Discussion.List[TSO-REXX]@VM.MARIST.EDU.INET
From: Gilbert.Cardenas[GilbertCardenas]@GROCERYBIZ.COM.INET
Subject: Re: APF authorized program getting RC(3)
To: TSO-...@VM.MARIST.EDU.INET
X-HDT-HopCount: 1
Two things:
Hope this helps,
Rob
no registration required and great graphics b
(http://pr.atwola.com/promoclk/100000075x1211202682x1200689022/aol?redir=
http://www.games.com?ncid=emlcntusgame00000001)
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
This e-mail (and any attachments) may contain information that is
confidential and/or protected by law. Any review, use, distribution or
disclosure to anyone other than the
intended recipient(s) is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all copies
of this message.
----------------------------------------------------------------------
Thanks for the new command,
Gil.
David S Speake <DAVID....@BCBSSC.COM>
Sent by: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
10/28/2008 03:59 PM
Two things:
Hope this helps,
Rob
no registration required and great graphics b check it out!
(http://pr.atwola.com/promoclk/100000075x1211202682x1200689022/aol?redir=
http://www.games.com?ncid=emlcntusgame00000001)
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
This e-mail (and any attachments) may contain information that is
confidential and/or protected by law. Any review, use, distribution or
disclosure to anyone other than the
intended recipient(s) is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all copies
of this message.
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
This e-mail (and any attachments) may contain information that is
EDIT MVSXB.JCLLIB.PROBLEM Row 00005 of
04852
Command ===> Scroll ===>
CSR
Name Prompt Size Created Changed ID
si_______ ARCHBKUP 58 2002/12/09 2002/12/09 16:00:25
What I did was create a separate routine called SI that invokes
the SINFO edit macro as such :
/* REXX */
PARSE UPPER ARG DSNAME '(' MEMBER ')' .
IF DSNAME = '' THEN DO
SAY 'DATASET NAME NOT SUPPLIED'
EXIT 12
END
If Left(DSNAME,1) = "'" Then Do
DSNAME = STRIP(DSNAME,'B',"'")
End
address ISPEXEC "SELECT CMD(%SINFO "DSNAME" "MEMBER") "
EXIT
In the edit macro I've specified the following line to accept
these values :
"ISREDIT MACRO PROCESS (DATASET,MEMBER)"
I have tried passing the argument as a single value "DSNAME" and I
have tried breaking it up into DSNAME and MEMBER but the edit macro never
recognizes these values.
Is this doable and if so what am I doing wrong?
Thanks,
Gil.
Robert Zenuk <Robz...@AOL.COM>
Sent by: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
10/28/2008 02:17 PM
Please respond to
TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
Subject
Re: [TSO-REXX] APF authorized program getting RC(3)
"ISREDIT MACRO (DATASET,MEMBER) PROCESS"
Bill Bass
Senior Applications Developer
United Health Care
Greenville, SC
-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-...@VM.MARIST.EDU] On Behalf
Of Gilbert Cardenas
Sent: Thursday, October 30, 2008 1:17 PM
To: TSO-...@VM.MARIST.EDU
Subject: Re: [TSO-REXX] APF authorized program getting RC(3)
<snip>
In the edit macro I've specified the following line to accept
these values :
"ISREDIT MACRO PROCESS (DATASET,MEMBER)"
I have tried passing the argument as a single value "DSNAME" and
I
have tried breaking it up into DSNAME and MEMBER but the edit macro
never
recognizes these values.
Is this doable and if so what am I doing wrong?
Thanks,
Gil.
<snip>
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
"Bass, Walter W" <bill...@UHC.COM>
Sent by: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
10/30/2008 12:49 PM
Please respond to
TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
Subject
I think you want:
"ISREDIT MACRO (DATASET,MEMBER) PROCESS"
<snip>
Thanks,
Gil.
<snip>
This e-mail (and any attachments) may contain information that is
confidential and/or protected by law. Any review, use, distribution or
disclosure to anyone other than the
intended recipient(s) is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all copies
of this message.
----------------------------------------------------------------------
--------------------------------------------------
From: "Gilbert Cardenas" <Gilbert...@GROCERYBIZ.COM>
Sent: Thursday, October 30, 2008 1:58 PM
address isredit "macro (parm1,parm2)"
at least that's the way it is in my macros.
-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-...@VM.MARIST.EDU] On Behalf Of Ryerse, Robin
Sent: October 30, 2008 2:47 PM
To: TSO-...@VM.MARIST.EDU
Subject: Re: APF authorized program getting RC(3)
The "panel" you are showing in your post is a "Member List" as launched either from 3.4 or the ISPF workplace. As such, the value of "EDIT" is a bit of a misnomer. If fact that value has meaning only if action "S" is specified. From any "member list" you must start EDIT before a macro can be used. Therefore your SI exec should read
Address ISPEXEC "'ISPEDIT DATASET('"dsname"') MEMBER("member") MACRO(SINFO)"
Instead of
address ISPEXEC "SELECT CMD(%SINFO "DSNAME" "MEMBER") "
-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-...@VM.MARIST.EDU] On Behalf Of Gilbert Cardenas
Sent: October 30, 2008 1:17 PM
To: TSO-...@VM.MARIST.EDU
-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-...@VM.MARIST.EDU] On Behalf Of Gilbert Cardenas
Sent: October 30, 2008 1:17 PM
To: TSO-...@VM.MARIST.EDU
ISPS102
Invalid service name
''ISPEDIT' is not a recognized dialog service name.
Current dialog statement:
'ISPEDIT DATASET('MVSXB.JCLLIB.PROBLEM') MEMBER(ARCHBKUP) MACRO(SINFO)
I also tried :
Address ISPEXEC
"ISPEDIT DATASET('"dsname"') MEMBER("member") MACRO(SINFO)"
But got the same results.
I've tried ISREDIT and ISPEXEC and plain EDIT but none worked so
far.
"Ryerse, Robin" <robin....@EDS.COM>
Sent by: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
10/30/2008 01:53 PM
If you want to spiffy up SI such that it will detect when it is invoked other than from a member list then you adjust your original code slightly.
"Ryerse, Robin" <robin....@EDS.COM>
Sent by: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
10/30/2008 02:30 PM
ADDRESS ISPEXEC
"CONTROL ERRORS RETURN"
VGET RINPUT
"ISREDIT MACRO"
IF RC <> 0 THEN DO
"EDIT DATASET('.......') MACRO(X)"
VGET EDMACRC
IF EDMACRC = 0 THEN DO
CALL DSSLM /* internal subroutine if needed */
EXIT
END
END
/* Processing after getting into EDIT - one way or another */
EDMACRC = 0
VPUT "EDMACRC"
ADDRESS ISREDIT "CANCEL"
or
ADDRESS ISREDIT "SAVE"
followed by
ADDRESS ISREDIT "EXIT"
EXIT
David
P. S. My peers here at my shop don't like this one much
------------------( Forwarded letter 1 follows )---------------------
Date: Thu, 30 Oct 2008 14:53:29 -0500
Reply-To: TSO.REXX.Discussion.List[TSO-REXX]@VM.MARIST.EDU.INET
Sender: TSO.REXX.Discussion.List[TSO-REXX]@VM.MARIST.EDU.INET
From: Gilbert.Cardenas[GilbertCardenas]@GROCERYBIZ.COM.INET
Subject: Re: APF authorized program getting RC(3)
To: TSO-...@VM.MARIST.EDU.INET
X-HDT-HopCount: 1
ISPS102
I also tried :
recognizes these values.
Thanks,
Gil.
Two things:
Hope this helps,
Rob
no registration required and great graphics b
(http://pr.atwola.com/promoclk/100000075x1211202682x1200689022/aol?redir=
http://www.games.com?ncid=emlcntusgame00000001)
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
This e-mail (and any attachments) may contain information that is
confidential and/or protected by law. Any review, use, distribution or
disclosure to anyone other than the
intended recipient(s) is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all copies
of this message.
This e-mail (and any attachments) may contain information that is
confidential and/or protected by law. Any review, use, distribution or
disclosure to anyone other than the
intended recipient(s) is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all copies
of this message.
This e-mail (and any attachments) may contain information that is
confidential and/or protected by law. Any review, use, distribution or
disclosure to anyone other than the
intended recipient(s) is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete all copies
of this message.
----------------------------------------------------------------------
/* Rexx Launch an edit macro even when EDIT is not started */
mac_rc = 0
'SUBCOM ISPEXEC'
if rc \= 0 then
do
say 'Gotta be in ISPF.'
exit 16
end
'SUBCOM ISREDIT'
if rc = 0 then
do
address 'ISREDIT'
'MACRO (MACARGS) NOPROCESS'
mac_rc = (rc = 0)
end
if \mac_rc then
do
parse source . . mac_name .
if arg(1,'E') then
do
address ispexec 'EDIT' arg(1) 'MACRO('mac_name')
exit rc
end
else
do
say mac_name 'requires an argument specifying a dataset name.'
exit 12
end
end
parse var macargs .... /* start of the actual macro */
Regards,
Thomas Berg
__________________________________________
Thomas Berg Specialist IT-U SWEDBANK
> -----Ursprungligt meddelande-----
> Från: TSO REXX Discussion List
> [mailto:TSO-...@VM.MARIST.EDU] För Gilbert Cardenas
> Skickat: den 30 oktober 2008 20:12
> Till: TSO-...@VM.MARIST.EDU
> Ämne: Re: [TSO-REXX] APF authorized program getting RC(3)
> no registration required and great graphics - check it out!
> (http://pr.atwola.com/promoclk/100000075x1211202682x1200689022
> /aol?redir=
> http://www.games.com?ncid=emlcntusgame00000001)
>
> ----------------------------------------------------------------------
> For TSO-REXX subscribe / signoff / archive access instructions,
> send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
>
>
>
>
>
> This e-mail (and any attachments) may contain information that is
> confidential and/or protected by law. Any review, use,
> distribution or
> disclosure to anyone other than the
> intended recipient(s) is strictly prohibited. If you are not
> the intended
> recipient, please contact the sender by reply email and
> delete all copies
> of this message.
>
>
>
>
>
>
>
>
> This e-mail (and any attachments) may contain information that is
> confidential and/or protected by law. Any review, use,
> distribution or
> disclosure to anyone other than the
> intended recipient(s) is strictly prohibited. If you are not
> the intended
> recipient, please contact the sender by reply email and
> delete all copies
> of this message.
>
>
>
>
----------------------------------------------------------------------
Best Regards,
Gil.
"Ryerse, Robin" <robin....@EDS.COM>
Sent by: TSO REXX Discussion List <TSO-...@VM.MARIST.EDU>
10/30/2008 03:56 PM