View previous topic :: View next topic
|
Author |
Message |
harisukumaran
New User
Joined: 14 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
harisukumaran
New User
Joined: 14 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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
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 |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 592 Location: London
|
|
|
|
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 |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
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 |
|
|
|