Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to search a string between 1 to 30 columns

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: how to search a string between 1 to 30 columns
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Re: how to search a string between 1 to 30 columns
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts help to replace columns by rows Vikas Maharnawar DFSORT/ICETOOL 8 Tue Mar 06, 2018 3:27 pm
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm
No new posts Utility for search operation Gopalakrishna551 TSO/ISPF 11 Wed Jan 03, 2018 11:07 am
No new posts TBSARG - Deleting the search criteria... ISPFHerc TSO/ISPF 6 Thu Dec 14, 2017 8:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us