× 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.




This sounds like basic AS400 development skills, you sure you are up to
writting this??

Use MONMSG & RCVMSG to trap any errors and read then in so they can be
displayted to the screen

A user keys in pgm, lib, obj type...hmmm that going to be a fun program for
them to use or make mistakes with..






mohammadakhan@yahoo.com on 06/10/98 02:52:03

Please respond to RPG400-L@midrange.com

To:   MIDRANGE-L@midrange.com, RPG400-L@midrange.com
cc:    (bcc: Nick England/Pacific/UK)
Subject:  multi layer prob.




hi, I'd like some help, if anyone is willing.

1-does CHKOBJ command only work in a CL program?
2-how does a CL pgm. execute a command that displays an error mssg.
for instance?
3-how does CALL QCMDEXC in rpg pgm. execute the DSPOBJD command so
that a temporary output file in QTEMP is created?

basically i'm working on a pgm. that a user inputs an obj. name, lib.,
and obj. type.

if the obj. does not exist CL pgm activates error msg.

if the obj. does exist then the temporary file created in QTEMP by
CALL QCMDEXC (that activates DSPOBJD cmd)
should have some of its info displayed on an output screen.

hope this makes sense.

Mohammad







_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



      Regards,
      Nick England

      Pacific Systems International plc
      Kingfisher House
      Frimley Business Park
      Camberley
      Surrey
      GU16 5SG
      UK

      http://www.pacific.co.uk
      Email: englann@pacific.co.uk

      Telephone: +44 1276 808999
      Facsimile: +44 1276 808841




* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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-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.