View previous topic :: View next topic |
Author |
Message |
Redrose Beginner
Joined: 29 Sep 2006 Posts: 13 Topics: 6
|
Posted: Wed Oct 31, 2007 2:08 am Post subject: How to call ISRSUPC and DFSORT from REXX? |
|
|
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 |
|
|
fz Beginner
Joined: 18 Dec 2002 Posts: 2 Topics: 0 Location: Bavaria, Germany
|
Posted: Wed Oct 31, 2007 11:48 am Post subject: |
|
|
Try
Code: | Address TSO "CALL *(SORT)" |
For me it works. |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Oct 31, 2007 12:00 pm Post subject: |
|
|
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 |
|
|
Redrose Beginner
Joined: 29 Sep 2006 Posts: 13 Topics: 6
|
Posted: Wed Nov 07, 2007 12:13 am Post subject: |
|
|
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 |
|
|
Redrose Beginner
Joined: 29 Sep 2006 Posts: 13 Topics: 6
|
Posted: Wed Nov 07, 2007 4:57 am Post subject: |
|
|
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 |
|
|
acevedo Beginner
Joined: 03 Dec 2002 Posts: 127 Topics: 0 Location: Europe
|
Posted: Wed Nov 07, 2007 6:37 am Post subject: |
|
|
have you ALLOCated newdd, outdd and sysin DD? |
|
Back to top |
|
|
Redrose Beginner
Joined: 29 Sep 2006 Posts: 13 Topics: 6
|
Posted: Wed Nov 07, 2007 6:53 am Post subject: |
|
|
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 |
|
|
acevedo Beginner
Joined: 03 Dec 2002 Posts: 127 Topics: 0 Location: Europe
|
Posted: Wed Nov 07, 2007 7:44 am Post subject: |
|
|
what about address ispexec "select pgm(iceman)" or address tso "iceman" ? |
|
Back to top |
|
|
|
|