| 
 | 
You can do something like:
PGM
DCL        VAR(&ANSWER) TYPE(*CHAR) LEN(3) VALUE(NO)
SNDUSRMSG  MSG('Do you want to continue?') +
             MSGTYPE(*INQ) MSGRPY(&ANSWER)
IF         COND(&ANSWER *EQ 'YES') THEN(WRKSPLF)
ENDPGM
Hope this helps.
Peter Vidal
Pall Aeropower Corp.
Programmer Analyst
                    "Jim Wiedl"
                    <WIEDLJ@timesaver        To:     <mapics-l@midrange.com>
                    sinc.com>                cc:
                    Sent by:                 Subject:     CL
                    mapics-l-admin@mi
                    drange.com
                    03/15/2002 10:29
                    AM
                    Please respond to
                    mapics-l
Does anyone know how to break a CL and  ask for a Y/N to continue?
I would like to ask the user:  "are you sure you want to continue?"  Yes or No.
***********************************************************
This email has been scanned for viruses.
***********************************************************
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/mapics-l
or email: MAPICS-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.