1
  • Can an initial program send a pgm message?

    Is it possible for an initial program (CLP), that runs when a user logs in, to send a message to the queue of the initial menu? *PRV, *EXT and *SAME do not work when specified as the PGMQ.

    BritishGent65 pointsBadges:
  • Auto reply to CL-created messages

    Is there a way to automatically reply to either the SNDUSRMSG or SNDPGMMSG commands?

    OldScott10 pointsBadges:
  • Error msg not showing on display screen in AS/400

    hi , i am using a rpgle with display file , & calling a clp . in cl i am using SNGPGMMSG command , i just want to see the error messange on display screen, but its not showing , it is going somewhere else. i can see that error message in DSPJOBLOG. but it should display on display screen. is there...

    Ambrish 82310 pointsBadges:
  • How to change status line (24) from CL?

    I'm trying to leave a status message on line 24 when my CL(LE) program is done. Unfortunately, as soon as the message appears, it vanishes! This CL submits a batch process, and my goal is to notify the user that they submitted it so that they don't just keep doing it because they have seen no...

    Koohiisan5,045 pointsBadges:
  • How to see both SNDPGMMSG of two programs

    i have created two programs. say CALL1 and CALL2. CALL1 Program... PGM CALL PGM(MYLIB/CALL2) SNDPGMMSG MSG('SHANMUKMHA') ENDPGM CALL2 Program SNDPGMMSG MSG('hi how r u') So how can i get the output as 'hi how r u shanmukha'...? can anyone help me out............ by Shanmukha

    Shanmukha5 pointsBadges:
  • Validity Checking Program Message

    My VCP returns when an error in encountered but does not return the message. I have coded as per the documentation with the exception that I 'compose the message' instead of using a message file. (see below) CHGVAR VAR(&MSG) VALUE('ELEMENT ' *CAT &CURTXT *TCAT + ' - Member ' *CAT &RMBR *TCAT ' is...

    ECLAY25 pointsBadges:
  • SNDPGMMSG, Creates the message as part of Job Log but does not display it all the time

    SNDPGMMSG MSGID(&MSGID) MSGF(ERRMSGC) MSGDTA(&MSGDATA) I have added some new code to some old programs and am getting some strange things happening. I create a Cl as indicated above that I call in my RPG?? Program to display and added a Message subfile (*ind58, to control the display) to the...

    RPG360IV15 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following