View previous topic :: View next topic |
Author |
Message |
sejjobs Beginner
Joined: 30 Jul 2004 Posts: 15 Topics: 12
|
Posted: Thu Mar 10, 2005 1:15 pm Post subject: Search Load |
|
|
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 |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Thu Mar 10, 2005 2:13 pm Post subject: |
|
|
Code: |
/* REXX */
x=Pos('56980','--------$#V56980-----------')
Say x
|
I get a result of 12. |
|
Back to top |
|
|
|
|