IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Invoking adrdssu using attchmvs


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
harisukumaran

New User


Joined: 14 Jun 2005
Posts: 75

PostPosted: Tue Jun 05, 2018 3:30 am
Reply with quote

Code:
prg = 'adrdssu'                       
address attchmvs prg       


Is it not allowed to call adrdssu from a rexx using address attchmvs ?
I keep getting rc= -71 when i try
Back to top
View user's profile Send private message
harisukumaran

New User


Joined: 14 Jun 2005
Posts: 75

PostPosted: Tue Jun 05, 2018 4:29 am
Reply with quote

I get the following when i try LINKMVS
Code:
+IRX0250E System abend code 047, reason code 00000000.       
+IRX0255E Abend in host command adrdssu or address environmen
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 05, 2018 5:03 am
Reply with quote

An 047 system abend is an attempt to execute an authorized program in an unauthorized environment. Since X'047' is decimal 71, I suspect you're running into the same issue either way. Talk to your site support group about what you're trying to do and how they recommend you do it.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Jun 05, 2018 11:26 am
Reply with quote

Why on earth would you want to invoke DFdss from within a REXX, and IRXJCL isn't the best way to run REXX in batch, IKJEFT01 offers so much more if I recall correctly.

For IBM product calls I usually use
Code:
CALL *(ADRDSSU)


Perhaps if you actually took the time to explain what it is that you are trying to achieve then the hundreds of years of experience on the forum could spend their time giving a better solution.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 592
Location: London

PostPosted: Mon Jun 11, 2018 2:38 pm
Reply with quote

Does seem a strange thing to do trying to run DFDSS inside a rexx. Probably easier to generate a DFDSS job JCL in the rexx and submit it to INTRDR

You could look at the UIM's in the DFDSS manual to see what they offer.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 734
Location: Denmark

PostPosted: Tue Jun 12, 2018 1:40 pm
Reply with quote

Well I have tested ADRDSSU from REXX in the past for dataset copy or mass deletes.
The syntax I used is "Call *(ADRDSSU)"
The rc -71 = abend S047 is because ADRDSSU is not listed in parmlib member IKJTSOxx section AUTHPGM.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts How do I SFTP a ADRDSSU file from mai... IBM Tools 4
No new posts getting RC=3650 when invoking REXX wi... CLIST & REXX 7
This topic is locked: you cannot edit posts or make replies. Invoking a CICS transaction from a no... CICS 7
No new posts adrdssu for copy all data JCL & VSAM 5
No new posts adrdssu tool to dump a files from a PDS JCL & VSAM 5
Search our Forums:

Back to Top