IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISRSUPC utility and doubts


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1702
Location: Australia

PostPosted: Fri Aug 01, 2008 11:36 am
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: 2358
Location: Israel

PostPosted: Fri Aug 01, 2008 3:43 pm
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
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: 2358
Location: Israel

PostPosted: Mon Nov 15, 2010 6:09 pm
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: 44
Location: India

PostPosted: Tue Oct 28, 2014 11:59 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

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

Welcome To this forum!!

I am not sure but He may meant through REXX but please check ..
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.

ibmmainframes.com/viewtopic.php?p=326390&highlight=#326390
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: 1353
Location: Israel

PostPosted: Wed Oct 29, 2014 5:25 pm
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: 459
Location: Belgium

PostPosted: Wed Oct 29, 2014 6:19 pm
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: 44
Location: India

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

Thanks all for the replies,

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
No new posts Which SORT utility can improve the Pe... DFSORT/ICETOOL 16
Search our Forums:

Back to Top