View previous topic :: View next topic |
Author |
Message |
ap_mainframes Beginner
Joined: 17 Mar 2006 Posts: 5 Topics: 2
|
Posted: Thu Mar 23, 2006 11:08 pm Post subject: ISRSUPC not returning anything. |
|
|
Hello,
I am trying to use SUPERC from rexx to compare two members of PDS.
However ISRSUPC is just not returing anything and its just going blank.
I am putting the code in question below.
Can anybody suggest something here???
Thanks
ADDRESS TSO
"ALLOC DD(NEWDD) SHR REUS DA('"REG.J"')"
"ALLOC DD(OLDDD) SHR REUS DA('"DSN"')"
"ALLOC DD(OUTDD) DA(COMP.LIST) SP(10,10) TR NEW RELEASE REU",
"LRECL(133) BLKSIZE(13566) RECFM(F,B,A) ",
"MGMTCLAS(MCDCOMM)"
"CALL 'SYS1.SISPLPA(ISRSUPC)','DELTAL,LINECMP'"
"FREE DD(OLDDD) "
"FREE DD(NEWDD) "
"FREE DD(OUTDD) " |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Fri Mar 24, 2006 12:07 am Post subject: |
|
|
ap_mainframes,
Quote: |
However ISRSUPC is just not returing anything
|
Well, What do you mean by not returning anything. The output goes into the dataset allocated to OUTDD. I don't see any line in your code which reads the contents of OUTDD after invoking ISRSUPC.
Invoking ISRSUPC via 3.14 panel - online - is different than calling from REXX. when invoking via REXX, you need to process the output Manually and have ISPEXEC VIEW dataset (outdd-pds) or something else to display the result on screen.
Hope this helps,
Thanks,
Phantom |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Mar 24, 2006 12:36 am Post subject: |
|
|
try removing the comma between the dsname and the parms in the CALL command. |
|
Back to top |
|
 |
ap_mainframes Beginner
Joined: 17 Mar 2006 Posts: 5 Topics: 2
|
Posted: Fri Mar 24, 2006 12:50 am Post subject: |
|
|
Hi phantom n semi,
Apologies for got making it clear first hand.
I do have this code as well
ADDRESS ISPEXEC
"VPUT (A) PROFILE"
"EDIT DATASET(COMP.LIST)"
and semi... I tried removing comma as well..but still its not working.
Just wondering whats happening here?? I tried putting TRACE ALL and as soon it executs CALL statement..it returns nothing and screen goes blank..
any more suggestions??
ap_mainframes |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Mar 24, 2006 2:01 am Post subject: |
|
|
ap_mainframes wrote: | as soon it executs CALL statement..it returns nothing and screen goes blank. |
The program is expecting some input parameters, which would normally be provided in a SYSIN DD statement. Either there is no SYSIN DD available at runtime, or it is allocated to the terminal. Either way, you need to enter either the missing parameter(s), or enter the instream data terminator (/*) and the program should continue. |
|
Back to top |
|
 |
ap_mainframes Beginner
Joined: 17 Mar 2006 Posts: 5 Topics: 2
|
Posted: Fri Mar 24, 2006 2:49 am Post subject: |
|
|
hi superk,
Thanks for the solution.
It indeed was waiting for SYSIN. Its working fine now.
Thanks
ap_mainframes. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Mar 24, 2006 3:45 am Post subject: |
|
|
can you show the output with Trace C and Call msg 'ON' before the allocs ? |
|
Back to top |
|
 |
|
|