Re: CA-VIEW (SARBCH)

2009-09-11 Thread Shmuel Metz (Seymour J.)
In <6cd8dd927eba514e9db1e36304be38d7117ad...@hou-mail.kbm1.loc>, on
09/09/2009
   at 07:39 AM, "Staller, Allan"  said:

>AFAIK, CALL cannot be used from TSO for APF authorized execution,

You've been able to do that since Old Man Noach cornered the market in
gopher wood. What did you think that the AUTHPGM list was for?

>because the TSO CALL command is not authorized.

The TSO CALL command is handled by the TMP.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
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: CA-VIEW (SARBCH)

2009-09-09 Thread Paul Gilmartin
On Wed, 9 Sep 2009 07:39:01 -0500, Staller, Allan wrote:

>AFAIK, CALL cannot be used from TSO for APF authorized execution,
>because the TSO CALL command is not authorized.
>Check the CBT tape. I know there are a few programs there that will do
>what you want to accomplish, an APF authorized CALL.
>
TSO has elaborate mechanisms to support CALL of APF authorized programs;
used regularly for IDCAMS, IEBCOPY, and many others.

-- gil

--
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: CA-VIEW (SARBCH)

2009-09-09 Thread Staller, Allan
AFAIK, CALL cannot be used from TSO for APF authorized execution,
because the TSO CALL command is not authorized.
Check the CBT tape. I know there are a few programs there that will do
what you want to accomplish, an APF authorized CALL.  


I do this every day. I use "CALL" with the fully qualified DSN, and
SARBCH is 
included in both AUTHPGM and AUTHTSF in IJKTSOxx. I have to believe that
it 
is required in both places to work as I usually test to make sure I make
the 
fewest number of changes to get something to work.


--
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: CA-VIEW (SARBCH)

2009-09-09 Thread Binyamin Dissen
On Tue, 8 Sep 2009 13:37:35 -0300 carlos roberto visconde
 wrote:

:>You d`ont have authorization (RACF).

RACF does not cause an S047.

The program requires APF and is being invoked in such a way that it is not
receiving it.

:>2009/9/8 Gerry Anstey 
:>
:>> Anyone any idea what's wring here:
:>>
:>> I'm trying to call SARBCH from a REXX EXEC, this is what I keep getting:
:>>
:>> IRX0250E System abend code 047, reason code .
:>> IRX0255E Abend in host command SARBCH or address environment routine
:>> LINKMVS.
:>>57 *-*  ADDRESS LINKMVS "SARBCH"
:>>   +++ RC(-71) +++
:>>
:>> Here is my coding:
:>>
:>> "ALLOC DA(CAVIEW.SYSPRINT) F(SYSPRINT) NEW KEEP,
:>>SPACE(2 2) LRECL(133) RECFM(F B)"
:>> "ALLOC DA(CAVIEW.OUTFILE) F(OUTFILE) NEW KEEP,
:>>   SPACE(10 10) LRECL(133) RECFM(F B)"
:>> "ALLOC DA(CAVIEW.SYSIN) F(SYSIN) SHR"
:>> "ALLOC DUMMY F(REPORT)"
:>> /*"CALL *(SARBCH)"*/
:>> ADDRESS LINKMVS "SARBCH"
:>> "FREE F(SYSIN,SYSPRINT,OUTFILE,REPORT)"
:>>
:>> Any ideas?
:>>
:>> I looked up the message but it all seemed a bit vague, has anyone had any
:>> success calling SARBCH from REXX?

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
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: CA-VIEW (SARBCH)

2009-09-08 Thread Neal Eckhardt
On Tue, 8 Sep 2009 12:49:28 +0100, Gerry Anstey 
 wrote:

>Anyone any idea what's wring here:

>I'm trying to call SARBCH from a REXX EXEC, this is what I keep getting:

I do this every day. I use "CALL" with the fully qualified DSN, and SARBCH is 
included in both AUTHPGM and AUTHTSF in IJKTSOxx. I have to believe that it 
is required in both places to work as I usually test to make sure I make the 
fewest number of changes to get something to work.

Neal

--
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: CA-VIEW (SARBCH)

2009-09-08 Thread carlos roberto visconde
You d`ont have authorization (RACF).

2009/9/8 Gerry Anstey 

> Anyone any idea what's wring here:
>
> I'm trying to call SARBCH from a REXX EXEC, this is what I keep getting:
>
> IRX0250E System abend code 047, reason code .
> IRX0255E Abend in host command SARBCH or address environment routine
> LINKMVS.
>57 *-*  ADDRESS LINKMVS "SARBCH"
>   +++ RC(-71) +++
>
> Here is my coding:
>
> "ALLOC DA(CAVIEW.SYSPRINT) F(SYSPRINT) NEW KEEP,
>SPACE(2 2) LRECL(133) RECFM(F B)"
> "ALLOC DA(CAVIEW.OUTFILE) F(OUTFILE) NEW KEEP,
>   SPACE(10 10) LRECL(133) RECFM(F B)"
> "ALLOC DA(CAVIEW.SYSIN) F(SYSIN) SHR"
> "ALLOC DUMMY F(REPORT)"
> /*"CALL *(SARBCH)"*/
> ADDRESS LINKMVS "SARBCH"
> "FREE F(SYSIN,SYSPRINT,OUTFILE,REPORT)"
>
> Any ideas?
>
> I looked up the message but it all seemed a bit vague, has anyone had any
> success calling SARBCH from REXX?
>
> Thanks
> Gerry Anstey
>
>
>
>
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of
> securities, accuracy and completeness of information, viruses,
> confidentiality, legal privilege, and legal entity disclaimers,
> available at http://www.jpmorgan.com/pages/disclosures/email.
>
> --
> 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: CA-VIEW (SARBCH)

2009-09-08 Thread Ted MacNEIL
>I think you'll need to add SARBCH to the AUTHPGM section of IKJTSO00 then 
>refresh it with PARMLIB UPDATE(00) 

Won't do much good if you cannot use LINKMVS for authorised programmes.
-
Too busy driving to stop for gas!

--
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: CA-VIEW (SARBCH)

2009-09-08 Thread Paul Gilmartin
On Tue, 8 Sep 2009 14:16:01 +0100, Beesley, Paul wrote:

>I think you'll need to add SARBCH to the AUTHPGM section of IKJTSO00
>then refresh it with PARMLIB UPDATE(00)
>
I had not been aware that AUTHPGM is effective for LINKMVS; I had
thought it only affected CALL.

I notice that the OP had commented out CALL and replaced it with
LINKMVS.  But why?

CALL is available only under TSO; LINKMVS is equally available in
TSO, OMVS, and IRXJCL.  But shows that it must be run under TSO.

LINKMVS allows values to be returned in the PARMs, and multiple
PARMs.  I am not aware that either of these is possible with CALL.
But the OP's code shows no PARM.

-- gil

--
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: CA-VIEW (SARBCH)

2009-09-08 Thread Beesley, Paul
I think you'll need to add SARBCH to the AUTHPGM section of IKJTSO00 then 
refresh it with PARMLIB UPDATE(00) 


Regards
Paul 

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Somers Kevin
Sent: 08 September 2009 13:08
To: IBM-MAIN@bama.ua.edu
Subject: Re: CA-VIEW (SARBCH)

What's wrong: at first glance, SARBCH is trying to perform an authorized 
instruction, or is certainly running as an authorized program. The LINKMVS host 
environment only works for unauthorized programs

I don't know how to solve this, though I'm sure someone else will be able to 
point you to the right direction.


Vriendelijke Groeten / Cordialement / Best Regards / Med Vänliga Hälsningar

Kevin Somers
System Engineering Mainframe
Volvo IT Belgium 



___

Atos Origin and Atos Consulting are trading names used by the Atos Origin 
group.  The following trading entities are registered in England and Wales:  
Atos Origin IT Services UK Limited (registered number 01245534) and Atos 
Consulting Limited (registered number 04312380).  The registered office for 
each is at 4 Triton Square, Regents Place, London, NW1 3HG.The VAT No. for each 
is: GB232327983

This e-mail and the documents attached are confidential and intended solely for 
the addressee, and may contain confidential or privileged information.  If you 
receive this e-mail in error, you are not authorised to copy, disclose, use or 
retain it.  Please notify the sender immediately and delete this email from 
your systems.   As emails may be intercepted, amended or lost, they are not 
secure.  Atos Origin therefore can accept no liability for any errors or their 
content.  Although Atos Origin endeavours to maintain a virus-free network, we 
do not warrant that this transmission is virus-free and can accept no liability 
for any damages resulting from any virus transmitted.   The risks are deemed to 
be accepted by everyone who communicates with Atos Origin by email. 
___

--
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: CA-VIEW (SARBCH)

2009-09-08 Thread Somers Kevin
What's wrong: at first glance, SARBCH is trying to perform an authorized 
instruction, or is certainly running as an authorized program. The LINKMVS host 
environment only works for unauthorized programs

I don't know how to solve this, though I'm sure someone else will be able to 
point you to the right direction.


Vriendelijke Groeten / Cordialement / Best Regards / Med Vänliga Hälsningar

Kevin Somers 
System Engineering Mainframe 
Volvo IT Belgium 

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Gerry Anstey
Sent: dinsdag 8 september 2009 13:49
To: IBM-MAIN@bama.ua.edu
Subject: CA-VIEW (SARBCH)

Anyone any idea what's wring here:

I'm trying to call SARBCH from a REXX EXEC, this is what I keep getting:

IRX0250E System abend code 047, reason code .
IRX0255E Abend in host command SARBCH or address environment routine LINKMVS.
57 *-*  ADDRESS LINKMVS "SARBCH"
   +++ RC(-71) +++

Here is my coding:

"ALLOC DA(CAVIEW.SYSPRINT) F(SYSPRINT) NEW KEEP,
SPACE(2 2) LRECL(133) RECFM(F B)"
"ALLOC DA(CAVIEW.OUTFILE) F(OUTFILE) NEW KEEP,
   SPACE(10 10) LRECL(133) RECFM(F B)"
"ALLOC DA(CAVIEW.SYSIN) F(SYSIN) SHR"
"ALLOC DUMMY F(REPORT)"
/*"CALL *(SARBCH)"*/
ADDRESS LINKMVS "SARBCH"
"FREE F(SYSIN,SYSPRINT,OUTFILE,REPORT)"

Any ideas?

I looked up the message but it all seemed a bit vague, has anyone had any 
success calling SARBCH from REXX?

Thanks
Gerry Anstey




This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

--
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


CA-VIEW (SARBCH)

2009-09-08 Thread Gerry Anstey
Anyone any idea what's wring here:

I'm trying to call SARBCH from a REXX EXEC, this is what I keep getting:

IRX0250E System abend code 047, reason code .
IRX0255E Abend in host command SARBCH or address environment routine LINKMVS.
57 *-*  ADDRESS LINKMVS "SARBCH"
   +++ RC(-71) +++

Here is my coding:

"ALLOC DA(CAVIEW.SYSPRINT) F(SYSPRINT) NEW KEEP,
SPACE(2 2) LRECL(133) RECFM(F B)"
"ALLOC DA(CAVIEW.OUTFILE) F(OUTFILE) NEW KEEP,
   SPACE(10 10) LRECL(133) RECFM(F B)"
"ALLOC DA(CAVIEW.SYSIN) F(SYSIN) SHR"
"ALLOC DUMMY F(REPORT)"
/*"CALL *(SARBCH)"*/
ADDRESS LINKMVS "SARBCH"
"FREE F(SYSIN,SYSPRINT,OUTFILE,REPORT)"

Any ideas?

I looked up the message but it all seemed a bit vague, has anyone had any 
success calling SARBCH from REXX?

Thanks
Gerry Anstey




This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.

--
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