MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search Load

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
sejjobs
Beginner


Joined: 30 Jul 2004
Posts: 15
Topics: 12

PostPosted: Thu Mar 10, 2005 1:15 pm    Post subject: Search Load Reply with quote

Hi
I am trying to find the version of a cobol, for that i am searching a load module for a string with "pos" i.e
let us say line in a lod member is --------$#V56980-----------
and we are searching for 56980
hence
x=Pos('56980','--------$#V56980-----------')
but it is available it is not returning the posistion and shows Zero posistion

thanks
sej
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Thu Mar 10, 2005 2:13 pm    Post subject: Reply with quote

Code:

/* REXX */                                     
x=Pos('56980','--------$#V56980-----------')   
Say x                                           

I get a result of 12.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group