Re: RESMGR Add Return Code 44

2011-09-21 Thread Peter Relson
Good coding practice in cases of this type is to do the 
MVC (ie: Prime the work area) just before the a MF=E call.

Just to point out: macros that support the COMPLETE suboption of MF=E do 
not require use of a list form when you use or default to that option 
(indeed often those macros do not let you specify anything useful on the 
list form). But since RESMGR is not one of these macros, yes, do prime the 
work area.

Peter Relson
z/OS Core Technology Design

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: : RESMGR Add Return Code 44

2011-09-20 Thread Robert A. Rosenberg
At 12:21 -0500 on 09/19/2011, Chuck Arney wrote about Re: : RESMGR 
Add Return Code 44:


Thanks for the suggestions guys.  Rob hit the nail on the head.  The 
plist work area was initially primed with the MF=L prototype but 
another service call wiped it out before the RESMGR request was 
issued.


Good coding practice in cases of this type is to do the MVC (ie: 
Prime the work area) just before the a MF=E call. Of course this 
advice is based on the assumption that you do not need the make use 
of the values in the MF=E plist from call to call.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


RESMGR Add Return Code 44

2011-09-19 Thread Chuck Arney
Does anyone have any in site into what might cause a return code of 44 
from a RESMGR ADD,TYPE=TASK?  The manual says System error. An 
unrecoverable error occurred while processing the request.* *so that's 
of no practical help.


The issuer is running in task mode with P=S=H.  The request is basically 
coded as:


  RESMGRADD,TOKEN=(R3),TYPE=TASK,TCB=CURRENT,PARAM=(R4),
   ASID=CURRENT,ROUTINE=(BRANCH,(R2)),MF=(E,WORK_IBMPLIST)

All comments are welcome.

Chuck Arney
Arney Computer Systems

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: RESMGR Add Return Code 44

2011-09-19 Thread Rob Scott
A few questions :

(1) Did you pre-populate WORK_IBMPLIST with a model list form of RESMGR 
before the MF=E call ?
(2) Where does R3 point to ?
(3) Where does R2 point to ? 

Whenever I have used RESMGR in my code, I have always primed the plist from a 
constant RESMGR ADD,MF=L before using the MF=E form - so that hints that this 
macro might be one of those that require this extra attention (like WTO).


Rob Scott
Lead Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.2305
Email: rsc...@rs.com
Web: www.rocketsoftware.com

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Chuck Arney
Sent: 19 September 2011 16:46
To: IBM-MAIN@bama.ua.edu
Subject: RESMGR Add Return Code 44

Does anyone have any in site into what might cause a return code of 44 from a 
RESMGR ADD,TYPE=TASK?  The manual says System error. An unrecoverable error 
occurred while processing the request.* *so that's of no practical help.

The issuer is running in task mode with P=S=H.  The request is basically coded 
as:

   RESMGRADD,TOKEN=(R3),TYPE=TASK,TCB=CURRENT,PARAM=(R4),
ASID=CURRENT,ROUTINE=(BRANCH,(R2)),MF=(E,WORK_IBMPLIST)

All comments are welcome.

Chuck Arney
Arney Computer Systems

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: RESMGR Add Return Code 44

2011-09-19 Thread Miklos Szigetvari

Hi

Mine nearly the same:

  RESMGR ADD,   *
TYPE=TASK,TCB=CURRENT,  *
TOKEN=WORK_RMGR_TOKEN,  *
ROUTINE=(BRANCH,(3)),   *
PARAM=WORK_RMGR_PARM,   *
MF=(E,WORK_RMGR_LISTF)

I would also check regs , and look into the MACRO list (PRINT GEN)

On 9/19/2011 5:46 PM, Chuck Arney wrote:
Does anyone have any in site into what might cause a return code of 44 
from a RESMGR ADD,TYPE=TASK?  The manual says System error. An 
unrecoverable error occurred while processing the request.* *so 
that's of no practical help.


The issuer is running in task mode with P=S=H.  The request is 
basically coded as:


  RESMGRADD,TOKEN=(R3),TYPE=TASK,TCB=CURRENT,PARAM=(R4),
   ASID=CURRENT,ROUTINE=(BRANCH,(R2)),MF=(E,WORK_IBMPLIST)

All comments are welcome.

Chuck Arney
Arney Computer Systems

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: : RESMGR Add Return Code 44

2011-09-19 Thread Chuck Arney
Thanks for the suggestions guys.  Rob hit the nail on the head.  The 
plist work area was initially primed with the MF=L prototype but another 
service call wiped it out before the RESMGR request was issued.


Chuck Arney
Arney Computer Systems


*From:* Miklos Szigetvari miklos.szigetv...@isis-papyrus.com
*To:* IBM-MAIN@bama.ua.edu
*Sent:* Monday, September 19, 2011 12:06 PM
*Subject:* Re: RESMGR Add Return Code 44

Hi

Mine nearly the same:

  RESMGR ADD,  *
TYPE=TASK,TCB=CURRENT,  *
TOKEN=WORK_RMGR_TOKEN,  *
ROUTINE=(BRANCH,(3)),  *
PARAM=WORK_RMGR_PARM,  *
MF=(E,WORK_RMGR_LISTF)

I would also check regs , and look into the MACRO list (PRINT GEN)



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: RESMGR Add Return Code 44

2011-09-19 Thread Jim Mulder
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu wrote on 09/19/2011 
11:46:22 AM:
 Does anyone have any in site into what might cause a return code of 44 
 from a RESMGR ADD,TYPE=TASK?  The manual says System error. An 
 unrecoverable error occurred while processing the request.* *so that's 
 of no practical help.
 
 The issuer is running in task mode with P=S=H.  The request is basically 

 coded as:
 
RESMGRADD,TOKEN=(R3),TYPE=TASK,TCB=CURRENT,PARAM=(R4),
 ASID=CURRENT,ROUTINE=(BRANCH,(R2)),MF=(E,WORK_IBMPLIST)
 
 All comments are welcome.

  Return code 44 occurs when the FRR for the RESMGR service routine
(IEAVTR2C) has been entered.  This FRR does not take an SDUMP, but
there should be a logrec record. 

Jim Mulder   z/OS System Test   IBM Corp.  Poughkeepsie,  NY

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html