Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to get output of ISRSUPC in a PS file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
hemu88

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Wed May 18, 2011 1:54 pm    Post subject: how to get output of ISRSUPC in a PS file
Reply with quote

Hi All,

I am able to get the output of ISRSUPC utility in sysout. my code is as below.

Code:

//SEARCH  EXEC PGM=ISRSUPC,           
//            PARM=(SRCHCMP,'FINDALL')
//NEWDD  DD DSN=input.file,   
//          DISP=SHR                 
//OUTDD  DD SYSOUT=(H)               


but if I give soem DSN name in OUTDD, output is not coming in that file. Can some one telme how to do?
Back to top
View user's profile Send private message

prino

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Wed May 18, 2011 1:59 pm    Post subject:
Reply with quote

Maybe your guru has psychic powers, we do not. Would you mind posting the complete JCL rather than a vague statement?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed May 18, 2011 2:13 pm    Post subject:
Reply with quote

If your job ended with return code 0, there are no differences hence no output.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 18, 2011 2:28 pm    Post subject:
Reply with quote

Peter, Peter, Peter,
the TS is doing a search.

and, superc (search or compare) will always provide output,
if the proper parms are used.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed May 18, 2011 2:36 pm    Post subject:
Reply with quote

Dick,

my experience is that there only will be output if the return code > 0.
Back to top
View user's profile Send private message
hemu88

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Wed May 18, 2011 2:40 pm    Post subject: Reply to: how to get output of ISRSUPC in a PS file
Reply with quote

Code:

//SEARCH  EXEC PGM=ISRSUPC,           
//            PARM=(SRCHCMP,'FINDALL')
//NEWDD  DD DSN=input.file,   
//          DISP=SHR                 
//OUTDD  DD SYSOUT=(H)               
//SYSIN  DD *                         
 SRCHFOR  'STRING' 


this is my JCL. I can see output in Spool OUTDD.

if I give a DSN for OUTDD like below, its not working.
Code:

//OUTDD  DD DSN=output.file,DISP=xxx
Back to top
View user's profile Send private message
hemu88

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Wed May 18, 2011 2:42 pm    Post subject: Reply to: how to get output of ISRSUPC in a PS file
Reply with quote

Peter,

you are correct. return code is >0 if output is there
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed May 18, 2011 2:42 pm    Post subject:
Reply with quote

What is the return code of the job?
Back to top
View user's profile Send private message
hemu88

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Wed May 18, 2011 2:43 pm    Post subject: Reply to: how to get output of ISRSUPC in a PS file
Reply with quote

its 1
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Wed May 18, 2011 2:44 pm    Post subject:
Reply with quote

And what are the characteristics of output.file?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed May 18, 2011 2:49 pm    Post subject:
Reply with quote

Hello,
I tested the job and there was some log on output file eventhough the RC = 00,

Code:
  ISRSUPC   -   MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF FOR z/OS
     SEARCH-FOR SUMMARY SECTION            SRCH DSN: WELLS.GREEN.DAY         
                                                                               
LINES-FOUND  LINES-PROC  MEMBERS-W/LNS  MEMBERS-WO/LNS  COMPARE-COLS  LONGEST-LI
        0        44745            0            209           1:80           80 



You could use the following attributes for output file.
Code:
Organization  . . . : PS
Record format . . . : FBA
Record length . . . : 133


Hope it helps.
Back to top
View user's profile Send private message
hemu88

New User


Joined: 13 May 2011
Posts: 29
Location: India

PostPosted: Wed May 18, 2011 2:53 pm    Post subject: Reply to: how to get output of ISRSUPC in a PS file
Reply with quote

Ooops sorryyyy icon_sad.gif

my mistake.. I had given for SYSOUT instead of OUTDD.

thanks for your time.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 18, 2011 9:18 pm    Post subject: Reply to: how to get output of ISRSUPC in a PS file
Reply with quote

Good to hear it is working - Thank you for posting what happened . . . icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us