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 

ISRSUPC not returning anything.

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


Joined: 17 Mar 2006
Posts: 5
Topics: 2

PostPosted: Thu Mar 23, 2006 11:08 pm    Post subject: ISRSUPC not returning anything. Reply with quote

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
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Fri Mar 24, 2006 12:07 am    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Mar 24, 2006 12:36 am    Post subject: Reply with quote

try removing the comma between the dsname and the parms in the CALL command.
Back to top
View user's profile Send private message Visit poster's website
ap_mainframes
Beginner


Joined: 17 Mar 2006
Posts: 5
Topics: 2

PostPosted: Fri Mar 24, 2006 12:50 am    Post subject: Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Mar 24, 2006 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
ap_mainframes
Beginner


Joined: 17 Mar 2006
Posts: 5
Topics: 2

PostPosted: Fri Mar 24, 2006 2:49 am    Post subject: Reply with quote

hi superk,

Thanks for the solution.
It indeed was waiting for SYSIN. Its working fine now.

Thanks
ap_mainframes.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Mar 24, 2006 3:45 am    Post subject: Reply with quote

can you show the output with Trace C and Call msg 'ON' before the allocs ?
Back to top
View user's profile Send private message Visit poster's website
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