What are you trying to accept? You need to define a source and a target variable, for example:

ACCEPT WS-TIME FROM TIME

This puts the time into working storage field WS-TIME


-----Oorspronkelijk bericht-----
Van: COBOL400-L <cobol400-l-bounces@xxxxxxxxxxxxxxxxxx> Namens Vlad Kopik
Verzonden: woensdag 3 maart 2021 16:14
Aan: cobol400-l@xxxxxxxxxxxxxxxxxx
Onderwerp: [COBOL400-L] accept in as400

when i use the accept statement in cobol, it just ignores the statement.
anything i need to do?
--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/cobol400-l.

De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op: http://www.denhaag.nl/disclaimer

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.