Hello, Debbie. It's just my opnionio, but:
*a* change of a part of a key: you may 
        *1* delete logical 
        *2*   use SQL to update PF 
        *3* rebuild the keys
*b* in my shops wy use a generic program that is called with a parameter
(char(132)) containing the comment to be produced: it attaches date, time,
user and writes the string to a file whose structure is (date, time, user,
comment). I suggest you to add program-name also. It's a very simple system
for logging, but it's useful. 


Domenico Finucci
Fiditalia , Milano, 02- 4301-2494

-----Messaggio originale-----
Da: Debbie Meza-Zerlin [mailto:dmeza@xxxxxxxxxxxxxxxx]
Inviato: mercoledì 2 luglio 2003 17.03
A: cobol400-l@xxxxxxxxxxxx
Oggetto: Changing a Key on using AS400 COBOL & displays

I need to change one field in a key with the rest of the data remaining
the same.  What is the best way to accomplish list. I'm writing a batch
program using start, read, write, etc.?
Also, is there a way to get display messages to appear as a sysout type
of mini report other than in the "display program message" mode when I
use debug.  It appears that I need to write my display message to a
report.  Could you give me some suggestions on what to do.
I'd appreciate any help you could give me.  Thanks.
COBOL Programmer new to AS400
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 ...

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

This mailing list archive is Copyright 1997-2022 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.