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

How to find the specific string in a record


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
elijarajesh.mf
Warnings : 1

New User


Joined: 02 Feb 2010
Posts: 14
Location: hyderabad

PostPosted: Mon Aug 23, 2010 1:51 pm
Reply with quote

Hi,

I have file with 1000 records in which I want to find all the records having 5bytes length string ''XXXXX'' using the JCl. But I dont know the specific postion of the string in the record. Position may vary from record to record.

Thanks,
Rajesh.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 23, 2010 1:54 pm
Reply with quote

invoke superc in batch.

go to the 3.11(12?) screen and check the batch process flag,
the jcl for the job will be generated and then you can execute the job.
Back to top
View user's profile Send private message
elijarajesh.mf
Warnings : 1

New User


Joined: 02 Feb 2010
Posts: 14
Location: hyderabad

PostPosted: Mon Aug 23, 2010 2:04 pm
Reply with quote

Thanks icon_smile.gif
Back to top
View user's profile Send private message
balajiofcrrcoe

New User


Joined: 07 Jul 2005
Posts: 41
Location: chennai

PostPosted: Mon Aug 23, 2010 2:19 pm
Reply with quote

I think the below post will help you

Use [URL] BBCode for External Links

edited to fix the url
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 23, 2010 2:42 pm
Reply with quote

balajiofcrrcoe wrote:
I think the below post will help you

ibmmainframes.com/about45948.


balajiofcrrcoe,
this is the second post where you have provided an invalid url
this is the proper method:
ibmmainframes.com/viewtopic.php?t=45948

you should refer to the bbcode explanation for creating urls

also, use the preview button, which will allow you to test your url
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 How to split large record length file... DFSORT/ICETOOL 10
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 SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top