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
 

 

ISRSUPC utility and doubts

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

New User


Joined: 28 Jun 2006
Posts: 29
Location: DUISBURG

PostPosted: Fri Aug 01, 2008 11:18 am    Post subject: ISRSUPC utility and doubts
Reply with quote

Dear Members and Experts,

I have a doubt

I’m currently working in a tool development that searches a particular string in the main program and its calling sub programs.
I already have found out the main programs and its sub-programs.

Code:
//A4XTND1R  JOB (A4X#02988P0000000000000000000000),             
//     'RAVICHANDRAN,KOMMENT',USER=A4XTND1,PASSWORD=,           
//     CLASS=N,MSGCLASS=Y,NOTIFY=A4XTND1                       
//*                                                             
//SEARCH  EXEC PGM=ISRSUPC,PARM=(SRCHCMP,'ANYC')     
//NEWDD  DD DISP=SHR,DSN=KKB.PROD.SOURCE(TPKDG)       
//       DD DISP=SHR,DSN=KKB.PROD.UPROSRC(ADRGET1)   
//       DD DISP=SHR,DSN=KKB.PROD.UPROSRC(ADRPRF)     
//       DD DISP=SHR,DSN=KKB.PROD.UPROSRC(ADRPRFF)   
//       DD DISP=SHR,DSN=KKB.PROD.UPROSRC(ZWUCPD1)           
//OUTDD  DD SYSOUT=(*)                                       
//SYSIN  DD *                                                 
SRCHFOR 'CBSAANF'                                             
/*

I know that the search string CBSAANF is in all the members but the output is only considering the last concatenated DD statement

Code:
//       DD DISP=SHR,DSN=KKB.PROD.UPROSRC(ZWUCPD1)


Is there any other way?




Thanks,
Jagannathan
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Aug 01, 2008 11:36 am    Post subject:
Reply with quote

Hi,

I think you will find that all lines were selected but shows only the last member read.

Gerry
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Aug 01, 2008 3:43 pm    Post subject:
Reply with quote

Do not provide member names in NEWDD. Instead, use the SELECT statement of SUPERC.

O.
Back to top
View user's profile Send private message
nandeshwar

New User


Joined: 11 Oct 2010
Posts: 45
Location: Delhi

PostPosted: Mon Nov 15, 2010 3:48 pm    Post subject: Reply to: ISRSUPC utility and doubts
Reply with quote

hi ,
i have the same doubt regarding the utilty ISRSUPC . can some body tell me how to know in which PDS my required string was found because even if the stind is found in 1st PDS specified but not present in the last PDS .The OUTDD wil show that it found the string in the last PDS.
Please reply.
thanks,
nandeshwar
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Nov 15, 2010 6:09 pm    Post subject:
Reply with quote

As documented in the fina manual, SUPERC informs you on the dataset number in the concatenation by the CONCAT# notation.

O.
Back to top
View user's profile Send private message
Khadhar Basha

New User


Joined: 28 Oct 2014
Posts: 40
Location: India

PostPosted: Tue Oct 28, 2014 11:59 pm    Post subject:
Reply with quote

Hi Ofer,

Could you please expalin the below.

Do not provide member names in NEWDD. Instead, use the SELECT statement of SUPERC.

It would be great in explaining If you have a piece of code.

Thanks,
Khadhar
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1737
Location: NY,USA

PostPosted: Wed Oct 29, 2014 2:00 am    Post subject:
Reply with quote

Welcome To this forum!!

I am not sure but He may meant through REXX but please check ..
http://ibmmainframes.com/about38892.html

Please remember to open a NEW topic with detailed requirements in it. Below are the two topics which you could have started newly.

http://ibmmainframes.com/viewtopic.php?p=326390&highlight=#326390
http://ibmmainframes.com/viewtopic.php?p=326389#326389
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Wed Oct 29, 2014 5:25 pm    Post subject:
Reply with quote

Khadhar Basha wrote:
Hi Ofer,

Could you please expalin the below.

Do not provide member names in NEWDD. Instead, use the SELECT statement of SUPERC.

It would be great in explaining If you have a piece of code.

Thanks,
Khadhar

Unfortunately, we haven't heard from Ofer for a few years. We can only hope that he is OK.

The SELECT statement is explained in detail here.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Wed Oct 29, 2014 6:19 pm    Post subject:
Reply with quote

Use like this

Code:
//SEARCH  EXEC PGM=ISRSUPC,                       
//            PARM=(SRCHCMP,                     
//            'ANYC',SDUPM)                       


regards

Pierre


Modified :

Oups !! I didn't see the original demand was made on 2008 !! icon_cry.gif
Back to top
View user's profile Send private message
Khadhar Basha

New User


Joined: 28 Oct 2014
Posts: 40
Location: India

PostPosted: Thu Oct 30, 2014 12:30 am    Post subject:
Reply with quote

Thanks all for the replies,

I have opened a New topic where my requirments are clear.

http://ibmmainframes.com/viewtopic.php?p=326397#326397

Please advise.

Thanks
Basha
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 How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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