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
 

 

Overiding ISRSUPC UTIL

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

New User


Joined: 12 Feb 2008
Posts: 4
Location: Pondy

PostPosted: Mon Jun 16, 2008 12:26 pm    Post subject: Overiding ISRSUPC UTIL
Reply with quote

Hi All,

I am having a input file of LRECL=1500.Here i am finding a particular string '12345' by using the PROC ISRSUPC.

Input:
Code:
BROWSE    XXX.USRID.INPUT2                            Line 00000000 Col 001 080
 Command ===>                                                  Scroll ===> CSR 
********************************* Top of Data **********************************
GHJHHGJHJHJ123456                                                               
KLHGHJGHJGJHGJHGJHGJHGJH                                                       
WETTYUYIUOPPPOUOUHJHJ123456WETTYUYIUOPPPOUOUHJHJ123456                         
******************************** Bottom of Data ********************************


Code:
BROWSE    XXX.USRID.INPUT2                            Line 00000000 Col 361 440
 Command ===>                                                  Scroll ===> CSR 
********************************* Top of Data **********************************
                                                                               
12345                                                                           
                                                                               
******************************** Bottom of Data ********************************


Output:
Code:
********************************* Top of Data **********************************
  ISRSUPC   -   MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF FOR z/OS
 LINE-#  SOURCE SECTION                    SRCH DSN: XXXX.USRID.INPUT2       
                                                                               
      1  GHJHHGJHJHJ123456                                                     
      2  KLHGHJGHJGJHGJHGJHGJHGJH                                               
      3  WETTYUYIUOPPPOUOUHJHJ123456WETTYUYIUOPPPOUOUHJHJ123456                 
                                                                               
  ISRSUPC   -   MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF FOR z/OS
     SEARCH-FOR SUMMARY SECTION            SRCH DSN: XXXX.USRID.INPUT2       
                                                                               
LINES-FOUND  LINES-PROC  DATASET-W/LNS  DATASET-WO/LNS  COMPARE-COLS  LONGEST-LI
        3            3            1              0           1:1017       1017 
                                                                               
                                                                               
THE FOLLOWING PROCESS STATEMENTS (USING COLUMNS 1:72) WERE PROCESSED:           
   SRCHFORC '1234'                                                             
ISRS038W SRCHFORC MUST BE PRECEDED BY A VALID SRCHFOR/SRCHFORC STATEMENT.  STATE
   SRCHFOR  '12345'                                                             
                                                                               
ISRS004I LISTING LINES MAY BE TRUNCATED DUE TO LIMITING OUTPUT LINE WIDTH.                                                   
                                                                               
******************************** Bottom of Data ********************************


If you look into the above scr shot the search string is identified in the 2 line @ column 361 of the input dsn.

But i want the identified search string in the terminal (i.e.Output of superce should display '12345' @ 2 line as its display the search string '12345' @ line1&3)

Please find my excepted sample O/P:
Code:
********************************* Top of Data **********************************
  ISRSUPC   -   MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF FOR z/OS
 LINE-#  SOURCE SECTION                    SRCH DSN: XXXX.USRID.INPUT2       
                                                                               
      1  GHJHHGJHJHJ123456                                                     
      2  KLHGHJGHJGJHGJHGJHGJHGJH                                               
      3  WETTYUYIUOPPPOUOUHJHJ123456WETTYUYIUOPPPOUOUHJHJ123456                                                                                               

******************************************************************


Code:
********************************* Top of Data *********************************
    ISRSUPC   -   MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF FOR z/OS
 LINE-#  SOURCE SECTION                    SRCH DSN: XXXX.USRID.INPUT2

                                                                             
                    12345                                                     
                                                                               
******************************** Bottom of Data *******************************


Jcl Code:
Code:
//SEARCH  EXEC PGM=ISRSUPC,               
//           PARM=(SRCHCMP,' ')           
//NEWDD  DD DSN=XXX.USRID.INPUT2,       
//           DISP=SHR                     
//OUTDD  DD  DSN=XXX.USRID.OUTPUT1,     
//           DISP=(NEW,CATLG,DELETE),     
//           SPACE=(CYL,(20,5),RLSE),     
//          DCB=(*.NEWDD)                 
//SYSIN    DD *                           
SRCHFOR  '12345'                           
/*   


Please help me on these.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Mon Jun 16, 2008 12:47 pm    Post subject: Reply to: Overiding ISRSUPC UTIL
Reply with quote

We cannot help You
Quote:
But i want the identified search string in the terminal (i.e.Output of superce should display '12345' @ 2 line as its display the search string '12345' @ line1&3)

But what You want is not what the program can give You
( ... what' s the use of printing something You already know is there )

there is a parameter to specify the columns to be printed ,
but that' s all You can get

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ispzu261/A.14?SHELF=ISPZPM61.bks&DT=20071211175702&CASE=
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Mon Jun 16, 2008 4:38 pm    Post subject:
Reply with quote

Hi sannar !

The Print-Output is resticted according to some Printer definitions.
Check the "Update DSN"-Option. Perhaps you could work with te informations provided there. Content, Linenumber & offset.

Play arround with the other options for Compare & Listing type.

Regards, Umeysan
Back to top
View user's profile Send private message
sannar

New User


Joined: 12 Feb 2008
Posts: 4
Location: Pondy

PostPosted: Mon Jun 16, 2008 5:07 pm    Post subject:
Reply with quote

Hi

I have checked with those options before posting here.
It never helped me..... icon_sad.gif
Let me if there is anyother possibilties are there.
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 ISRSUPC SRCHFOR tool - Query while us... soundarr JCL & VSAM 7 Wed Mar 16, 2016 8:55 pm
No new posts Passing parms when calling ISRSUPC(su... jasorn COBOL Programming 3 Mon Nov 16, 2015 12:06 pm
No new posts ISRSUPC -renaming OUTDD output dd sta... PokerGuru JCL & VSAM 11 Tue Jul 01, 2014 10:07 pm
No new posts How to use PARM when calling ISRSUPC ... chaoj CLIST & REXX 5 Mon Jun 09, 2014 3:02 pm
No new posts Need to compare 2 VSAM file through f... sandeep kumar302 JCL & VSAM 8 Wed Apr 09, 2014 2:50 pm


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