× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Great.  Thanks.

Don Stafford <don.stafford@xxxxxxxxx> wrote:  You could use the inspect 
statement to find it
Count the number of characters before "Additional Instructions" and if > 0, 
then you found it

----- Original Message ----- 
From: "Mike Apice" 
To: "COBOL Programming on the iSeries/AS400" 
Sent: Monday, June 05, 2006 6:45 PM
Subject: [COBOL400-L] Help with Inspect or examine


I have an MQ record coming in to my program. The record is 23400 
bytes. There can be comments and then something from a front-end form 
called "additional instructions".. I need to find The 
words --------------Additional Instructions-- and take a seperate logic 
path from regular comments which may be before or after these 2 special 
words.

Any help would be appreciated.

Thanks.

Mike


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-- 
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing 
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l. 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.