In 20130511.154412.1327...@webmail03.dca.untd.com, on 05/11/2013
at 07:44 PM, esst...@juno.com esst...@juno.com said:
My question is How Do I properly Test and SET the Return Code in the
EDIT MACRO
LASTCC and MAXCC to test.
EXIT CODE(foo) to set.
Any examples would be appreciated.
Thanks Dave
hats exactly what Im Looking for - After posting I located a publication for
CLISTs and CLIST Macros.
-- Original Message --
From: Dave Salt ds...@hotmail.com
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Examing Setting Return Codes in a CLIST/MACRO
Date: Sat, 11 May
Setting Return Codes in a CLIST/MACRO
Date: Sat, 11 May 2013 22:04:42 -0500
On Sat, 11 May 2013 17:09:19 -0400, Dave Salt wrote:
The edit session ends with CANCEL, which means no changes were saved, which
means ISPF sets the return code of the macro to 4. If you want to end with a
different return
Hi,
Not proffecient in CLISTS and RExx.
Can I get some assistance with examining testing a return code in a CLIST
Macro.
In A CLIST i execute the following statements to edit a member of a PDS
and use the ALTER MACRO to change all occurances of XXX.
SET IOFUNC = STR(EDIT)
SET EXITCODE = LASTCC
do more stuff
EXIT CODE(EXITCODE)
Hope that helps,
Dave Salt
SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/program-development/simplist.html
Date: Sat, 11 May 2013 19:44:12 +
From: esst...@juno.com
Subject: Examing Setting Return
-MAIN@LISTSERV.UA.EDU
:: Subject: Examing Setting Return Codes in a CLIST/MACRO
::
:: Hi,
:: Not proffecient in CLISTS and RExx.
::
:: Can I get some assistance with examining testing a return code in a
:: CLIST Macro.
::
:: In A CLIST i execute the following statements to edit a member of a PDS
On Sat, 11 May 2013 17:09:19 -0400, Dave Salt wrote:
The edit session ends with CANCEL, which means no changes were saved, which
means ISPF sets the return code of the macro to 4. If you want to end with a
different return code, you can hard code it like this:
EXIT CODE(0)
Or set it using this
better to call the macro using VIEW
instead of EDIT.
Dave Salt
SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/program-development/simplist.html
Date: Sat, 11 May 2013 22:04:42 -0500
From: paulgboul...@aim.com
Subject: Re: Examing Setting Return Codes in a CLIST