View previous topic :: View next topic
|
Author |
Message |
maxsubrat
Active User
Joined: 27 Feb 2008 Posts: 110 Location: india
|
|
|
|
Hi i have a requirement like:
data : CCYYMMDDHHMMSSXXXXXX
i want to use inspect when this data 'CCYYMMDDHHMMSSXXXXXX' found then i need to replace it with current time stamp in my cobol program..
Please help me out.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is the value always in the same data position? Can the value occur multiple times in a record?
If the data position can vary, i'd use a loop and reference modification rather than INSPECT. |
|
Back to top |
|
|
|