MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to call ISRSUPC and DFSORT from REXX?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Redrose
Beginner


Joined: 29 Sep 2006
Posts: 13
Topics: 6

PostPosted: Wed Oct 31, 2007 2:08 am    Post subject: How to call ISRSUPC and DFSORT from REXX? Reply with quote

Hi All,

How do we call utility programs like ISRSUPC and DFSORT from REXX.

I tried using TSO CALL command but couldn't identify the Load dataset for ISRSUPC and SORT program.

Is there anyway to identify the Load dataset name?

Thanks in advance,

Regards,
Ramanan R
Back to top
View user's profile Send private message
fz
Beginner


Joined: 18 Dec 2002
Posts: 2
Topics: 0
Location: Bavaria, Germany

PostPosted: Wed Oct 31, 2007 11:48 am    Post subject: Reply with quote

Try

Code:
Address TSO "CALL *(SORT)"


For me it works.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Oct 31, 2007 12:00 pm    Post subject: Reply with quote

Yeah. I find it hard to believe that common utilities like SORT and ISRSUPC wouldn't be in the site's LINKLIST.
Back to top
View user's profile Send private message
Redrose
Beginner


Joined: 29 Sep 2006
Posts: 13
Topics: 6

PostPosted: Wed Nov 07, 2007 12:13 am    Post subject: Reply with quote

Hi FZ,

I tried with your code, but didn't work.. Is there any other way to identify the Load dataset name..

Thanks.

Regards,
Ramanan R
Back to top
View user's profile Send private message
Redrose
Beginner


Joined: 29 Sep 2006
Posts: 13
Topics: 6

PostPosted: Wed Nov 07, 2007 4:57 am    Post subject: Reply with quote

Hi FZ & Superk,

I found the Loadlib of ISRSUPC.. it is ISP.SISPLPA...

But when i tried using below code.. the screen goes blank.. I tried tracing the RC and it was -1.

Code:

"CALL 'ISP.SISPLPA(ISRSUPC)','DELTAL LINECMP'"


Is the syntax correct??.. Is there any manual for ISRSUPC?

Thanks.

Regards,
Ramanan R
Back to top
View user's profile Send private message
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Wed Nov 07, 2007 6:37 am    Post subject: Reply with quote

have you ALLOCated newdd, outdd and sysin DD?
Back to top
View user's profile Send private message
Redrose
Beginner


Joined: 29 Sep 2006
Posts: 13
Topics: 6

PostPosted: Wed Nov 07, 2007 6:53 am    Post subject: Reply with quote

Yep,

I found a way to call ISRSUPC from REXX using ISPEXEC SELECT command..

The code is

Code:

'SELECT PGM(ISRSUPC) PARM(LINECMP,NOLISTL,UPDLDEL)'


Can we execute DFSORT from REXX?

Thanks & Regards,
Ramanan R
Back to top
View user's profile Send private message
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Wed Nov 07, 2007 7:44 am    Post subject: Reply with quote

what about address ispexec "select pgm(iceman)" or address tso "iceman" ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group