IBM manual CRTBNDRPG Command, ILE RPG for AS/400 Programmers Guide

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 434
Image 434
410 ILE RPG for AS/400 Programmer's Guide

CRTBNDRPG Command

*YES

When this program is called it will always run in the default ac group. The default activation group is the activation group where program model (OPM) programs are run.

Specifying

DFTACTGRP(*YES) allows ILE RPG programs to

behave like

OPM programs

in the areas of override scoping,

open scoping, and

RCLRSC.

 

 

ILE static binding is not available when a program is created wi DFTACTGRP(*YES). This means that you cannot use the BNDDIR or

ACTGRP parameters when creating this program. In addition, any call operation in your source must call a program and not a procedure

DFTACTGRP(*YES) is useful when attempting to move an application on a program-by-program basis to ILE RPG.

*NO

The program is associated with the activation group specified b

ACTGRP parameter. Static binding is allowed when *NO is specified.

If ACTGRP(*CALLER) is specified and this program is called by a p running in the default activation group, then this program will beh according to ILE semantics in the areas of file sharing, file s

RCLRSC.

DFTACTGRP(*NO) is useful when you intend to take advantage of ILE concepts; for example, running in a named activation group or bindi service program.

OPTION

Specifies the options to use when the source member is compiled. Y specify any or all of the options in any order. Separate the opti more blank spaces. If an option is specified more than once, the used.

*XREF

Produces a cross-reference listing (when appropriate) for the sou member.

*NOXREF

A cross-reference listing is not produced.

*GEN

Create a program object if the highest severity level returned piler does not exceed the severity specified in the GENLVL opt

*NOGEN

Do not create a program object.

*NOSECLVL

Do not print second-level message text on the line following the f message text.

*SECLVL

Print second-level message text on the line following the first-level text in the Message Summary section.

410 ILE RPG for AS/400 Programmer's Guide

Page 434
Image 434
IBM manual CRTBNDRPG Command, ILE RPG for AS/400 Programmers Guide