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

how to search a string between 1 to 30 columns


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Wed Jun 15, 2005 5:13 pm
Reply with quote

hi plse rectify my doubt
i want to search a string between 1 to 30 column instead of 1 to 72 by 3.14
option is there any way to find out either 3.14 nor thru jcl
Back to top
View user's profile Send private message
kvivek

New User


Joined: 09 May 2005
Posts: 51
Location: Singapore

PostPosted: Wed Jun 15, 2005 6:03 pm
Reply with quote

F <Search String> 1 30

Regards,
Vivek
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Jun 15, 2005 6:21 pm
Reply with quote

Thru TSO you can use from command line
Code:
F 'string' 1,30

Thru Search-For Utility you can use the background form and
befor the SRCHFOR you must specify the segments of search as you can see below:
Code:
//SEARCH  EXEC PGM=ISRSUPC,           
//            PARM=(SRCHCMP,           
//            'ANYC')                 
//NEWDD  DD DISP=SHR,DSN=HLDPTE.PROCLIB(FTPTCP)
//OUTDD  DD SYSOUT=(A)                 
//SYSIN  DD *                         
CMPCOLM 1:30,35:80                           
LSTCOLM 1:80                           
SRCHFOR  'string'     


Try to see this link for further details:
Code:
http://www.mainserver.state.mn.us/bookmgr-cgi/bookmgr.exe/handheld/BOOKS/IBMBK.Z4CMDS.ISPZU210.BOOK/CCONTENTS?SHELF=IBMBK.Z4CMDS.EZ2CMZ34.BKSHELF&DN=SC34-4823-01&DT=20010620123826
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Jun 15, 2005 6:34 pm
Reply with quote

Or(is the same that previous)
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/FRAMESET/ISPZU210/CCONTENTS?DT=20010620123826
Back to top
View user's profile Send private message
phil rook

New User


Joined: 25 Nov 2005
Posts: 12
Location: amsterdam

PostPosted: Fri Nov 25, 2005 10:24 pm
Reply with quote

sort 1 30 a = ascending
sort 1 30 d = descending
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Remote Unload of CLOB Columns DB2 6
Search our Forums:

Back to Top