S047 Abend
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> TSO and ISPF

#1: S047 Abend Author: waves PostPosted: Thu Oct 25, 2007 4:23 am
    —
When i'm calling the SARBCH utility in the rexx program, it throws an abend called S047.

Please find the code below which i used:

"CALL *(SARBCH) "
SarRetCd = rc

here i'm getting the rc as "290816"

the abend msg i'm getting is:

CAPE022I #033923 ICQUSER ABENDED S047 IN PROGRAM SARBCH AT OFFSET +0001F4.
CN(INTERNAL)
+++ RC(290816) +++


please help me, how to call the SARBCH utility in rexx.

actually i need a rexx program to get the CPU time and the Elapsed time for a set of jobs from the SAR.

#2:  Author: vkphani PostPosted: Thu Oct 25, 2007 4:31 am
    —
Waves,

Check teh below links.

http://www.mvsforums.com/helpboards/viewtopic.php?t=3919&highlight=call+sarbch+rexx

http://www.mvsforums.com/helpboards/viewtopic.php?t=1070&highlight=call+sarbch+rexx

#3:  Author: waves PostPosted: Thu Oct 25, 2007 5:47 am
    —
In the below link:

http://www.mvsforums.com/helpboards/viewtopic.php?t=1070&highlight=call+sarbch+rexx

no one haven't answered for that abend..

please help me..

#4:  Author: vivek1983 PostPosted: Thu Oct 25, 2007 6:37 am
    —
waves,

The links will provide you the use of SARBCH in batch mode(Through JCL).

Do u want to do the requirement specifically in REXX? You can very well do the same thing using JCL and call the JCL through REXX.

#5:  Author: taltymanLocation: Texas PostPosted: Thu Oct 25, 2007 9:17 am
    —
Usually a 047 abend means that you are attempting to execute code that requires authorization in a non-authorized environment. Are you executing in batch or online or what?

#6:  Author: waves PostPosted: Fri Oct 26, 2007 12:53 am
    —
i'm executing the code in online..

#7:  Author: semigeezerLocation: Atlantis PostPosted: Fri Oct 26, 2007 1:24 am
    —
Just a guess, but a common reason for problems involving authorization is not having the load module in a library listed in the APF list, or mixing APF authorized and non-APF authorized libraries in your steplib. For security reasons, if you mix APF libs and non-APF libs in the concatenation from which modules are loaded, the system will treat the whole list as unauthorized (for obvious reasons). If you are creating your own steplib using any utilities, or using ISPLLIB within ISPF and you are including the authorized module, be sure that you are not also including personal or departmental unauthorized libs. Your system support people can help with this.

#8:  Author: taltymanLocation: Texas PostPosted: Fri Oct 26, 2007 9:03 am
    —
If this is online TSO then SARBCH may need to be added as a authpgm in IKJTSOxx. See your friendly system programmer.



MVSFORUMS.com -> TSO and ISPF


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group