cobol400-l-request@xxxxxxxxxxxx wrote:

>   2. Changing a Key on using AS400 COBOL & displays
>      (Debbie Meza-Zerlin)
>
>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.

Debbie, without knowing more about how the program runs and what it does, it's 
hard to say exactly. Do you totally want to avoid any DISPLAY output at all on 
the workstation, perhaps because it interferes with other workstation output? 
Or do you just want a record for later?

Maybe easiest is just doing DSPJOBLOG *PRINT after the COBOL program finishes. 
If it must be fancier, then maybe a function that retrieves the messages from 
the joblog and prints them nice and pretty.

If you want no workstation output at all, then DISPLAY probably isn't what you 
should be using because it, well..., displays stuff.

Tom Liotta

-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertechgroup.com


__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

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.