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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 3 Sat Oct 14, 2017 2:29 am
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm

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