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



Le 12/04/2023 à 22:53, a4g atl a écrit :
I get this message and the compile fails. The CLLE program is simple:

PGM
ADDLIBLE LIB1
ADDLIBLE LIB2

GO MENU01

ENDPGM.

The error indicates that the program cannot be run in a batch
environment and that is agreed but how are we supposed to create these
programs?

That's strange. As Mark W. said, the gravity of this message is 0, so the program should compile.

Here is the compile output from a test on PUB400. Same output whether the CRTBNDCL command is interactive or batch. What is yours? Is there something strange in the joblog?

---------------------------------

Control Language Source
  SEQNBR  *...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9 ...+. DATE
     100- pgm 04/13/23
     200- addlible lib1 04/13/23
     300- addlible lib2 04/13/23
     400- go menu01 04/13/23
     500- endpgm 04/13/23
                                * * * * *   E N D   O F   S O U R C E   * * * * *
                                                    -=* http://pub400.com *=-
  5770SS1 V7R5M0  220415                  Control Language         DIMARCO1/ILE          PUB400 04/13/23 11:22:42         Page    2
                                           Cross Reference
 * CPD0792 10  No data areas, variables, or labels used in program.
                      * * * * *   E N D   O F   C R O S S   R E F E R E N C E   * * * * *
 * CPD0772 00  Program contains commands only valid when run interactively.

  5770SS1 V7R5M0  220415 Control Language         DIMARCO1/ILE          PUB400 04/13/23 11:22:42         Page    3
                                           Message Summary
Severity
  Total         0-9  10-19  20-29  30-39  40-49  50-59  60-69 70-79  80-89 90-99
       2          1      1      0      0      0      0 0      0      0 0
  Program ILE created in library DIMARCO1 on 04/13/23 at 11:22:42.
  Program ILE created in library DIMARCO1. Maximum error severity 10.
                                * * * * *   E N D   O F   M E S S A G E   S U M M A R Y   * * * * *
                                  * * * * *   E N D   O F   C O M P I L A T I O N   * * * * *

---------------------------------


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