Previous Topic: Access Path Generation Values

Next Topic: Environment Values

Function Generation Values

Modern value

Description

Allowed values

YCNFVAL

Specifies initial value for confirm prompt

*YES

YCPYMSG

Specifies whether outstanding messages are to be copied back to the calling program.

*YES

*NO

YCUTOFF

Specifies the first of 100 consecutive years that can be entered as 2 digit years. It is specified as 19YY, which represents the hundred years 19YY to 20YY‑1. Values between YY and 99 are assumed to be in the 20th century; values between 00 and YY‑1 are assumed to be in the 21st century.

1940

19YY—where YY is a numeric value between 00 and 99; in other words, a 4-digit year between 1900 and 1999

YDATFMT

Specifies the display format for dates at run time (DMY, YMD, MDY) if YDATGEN = *VRY was specified. It is stored as Y2DTFMA data area in GENLIB.

*DMY—Date, Month, Year

*YMD—Year, Month, Date

*MDY—Month, Date, Year

YDATGEN

Date validation generation option: MDY, YMD, DMY, VRY - if VRY see YDATFMT value

*DMY

*YMD

*MDY

*VRY

YDFTCTX

Specifies the default context to be used for a given function call in the action diagram editor when no context has been supplied by the user.

*WRK—Use WRK context for parameter defaulting.

*LCL—Use LCL context for parameter defaulting.

YERRRTN

Specifies whether an error handling routine is to be generated.

*YES—Generate error handling routine.

*NO—Do not generate error handling routine.

YGENCMT

Determines whether or not comments are placed in the resulting generated source code. The time required to generate a function can be significantly improved if comments are not required for the source. Note: Refer to the YGENHLP model value for another method that can be used to improve function generation times.

*ALL—All comments are generated into the source for a function.

*HDR—Only header comments are generated.

*NO—No comments are generated.

*STD—Currently the same as *ALL. To be used in a future release.

YGENGUI

Generate GUI by Default. Indicates whether to generate SDF source for functions that use a screen device design. This applies to all programmable workstation functions; namely, if the YWSNGEN model value is set to *GUI, *VB, or *JVA. YGENGUI is ignored when YWSNGEN or its function option is set to *NPT.

For Synon/TC, also indicates whether to generate Windows Help and depends on YGENHLP. See YGENHLP.

*YES—Generate a GUI interface for functions that use a screen device design.

*NO—Do not generate a GUI interface.

*ONLY—Generate only a GUI interface that use a screen device design. For functions where SDF is not applicable, for example, Print File functions, no source is generated.

YGENHLP

Determines whether help will be generated/created by default for functions in the model. This can be overridden by a function option. For Synon/TC the result depends on YGENGUI. See YGENHLP.

*YES—Generate help text (UIM or TM) with all other HLLs.

*NO—Do not generate help text.

*ONLY—Generate help text only (without other HLLs).

YGENLMT

Specifies the maximum number of job list entries that can be processed by a single YGENSRC job. If a generation or compilation job is submitted which contains more entries (objects) than this value, the list will be automatically 'split' and processed by multiple YGENSRC jobs.
Note: YGENLMT is shipped with a value of 99999. This value should not be changed unless directed by CA support.

1-99999

Note: If an object assigned to a YGENSRC job is associated with another object assigned to another YGENSRC job, PGM and DSPF of an EDTFIL, for example, the YGENSRC job assigned to the PGM will also process the DSPF and update the job list accordingly. In this scenario the YGENSRC that was originally assigned the DSPF will not process that object. Therefore it is possible for one or more of the submitted YGENSRC jobs to not actually perform any source generation at all; this is expected behavior.

YHLLCBL

Specifies Cobol version.

*CBL85

*CBL74

YHLLGEN

Default HLL type to be given to new functions.

*RPG

*CBL

YNLLUPD

Sets the default for whether CHGOBJ functions update or release the database record if the record has not changed. This may be overridden with a matching function option.

*NO—CHGOBJ functions always update the database whether the record changed or not.

*AFTREAD—CHGOBJ checks whether to suppress database update after the After Data Read user point.

*YES—CHGOBJ checks whether to suppress database update both after the After Data Read and after the Data Update user points.

YPKYLIB

Print file library name.

Valid System Name—Specify your own.

*LIBL—Will pick up name from your library list.

*NONE

YPKYVNM

Print file name for use on DSPF DDS PRINT keyword: specifies name of spool file for PRINT key output.

Valid System Name

*NONE

YPMTGEN

Device text prompt implementation which specifies whether the text on your device designs will be externalized to message files. The default is the value defined by the YSYSPMT model value.

*OFF—This model is incapable of generating message IDs for screen text literals. (default

*MSGID—This model will default to generated external message IDs for every screen text constant.

*LITERAL—This model is capable of generating external message IDs but will not default to do so. You can override at the function level.

YPUTOVR

Specifies whether code is to be generated using PUTOVR option in DDS.

*YES—Generate PUTOVR in the DDS.

*NO—Do not generate PUTOVR in the DDS.

YRPGHSP

Specifies H specification line to be used for RPG programs.

H specification (80)

YRP4HSP

Specifies H Specification line to be used for RPGIV Programs (*PGM)

H Specification VNM(80)

YRP4HS2

Specifies H Specification line to be used for RPGIV Modules (*MOD)

H Specification VNM(80)

YRP4SGN

The options which are used to generate RPGIV (RPGLE) source in the model. See help text for more information

1st character – U,M,L

2nd character – G,W,R,B,P

YSCNLMT

Allows you to specify the scan limit for subfile functions. The shipped value is 500, but can be changed using YCHGMDLVAL. It can also be changed within a function through the use of the *PGM.*Scan limit value.

1- 999999999

YSHRSBR

indicates whether generated source code for subroutines is to be shared and whether the subroutine’s interface is internal or external.

*NO—Generate source code each time the subroutine is called. The subroutine’s interface is internal.

*YES—Share the first instance of generated source for all subsequent calls to the subroutine. The subroutine’s interface is external.

YSNDMSG

Specifies whether all messages are to be sent, or only the first one detected.

*YES

*NO

YSQLLCK

Specifies whether a row to be updated will be locked at the time it is read or at the time it is updated.

*UPD—Lock row at time of update.

*FET—If a SELECT is done, lock row at time of read; else lock row at time of update.

*IMG—Lock row at time of read for CHGOBJ's embedded in the DBF record user point of standard Edit functions.

YSQLWHR

Specifies whether to use OR or NOT logic when generating SQL WHERE clauses.

*OR—Use OR logic when generating SQL WHERE clauses.

*NOT—Use NOT logic when generating SQL WHERE clauses.

YWSNGEN

Defines whether interactive functions are to operate on non-programmable terminals (NPT) or on programmable work stations (PWS) communicating with an IBM i host. For programmable workstations, you also specify the PC runtime environment.

*NPT—Will generate for non‑programmable terminals.

*GUI—Generates for non‑programmable terminals together with a Windows executable.

*JVA—Generates for non‑programmable terminals together with a Windows executable and a Java executable.

*VB—Generates for non‑programmable terminals together with a Visual Basic executable.

YW2ELIB

The name of the Web Option product library that is associated with this model if HTML templates are being generated

VNM (10) - Valid library name.

YRP4SGN

RPGIV generation options: The options which are used to generate RPGIV (RPGLE) source in the model. This model value consists of 2 characters as follows:

1st character: Case of generated source. This specifies the case of the actual source statements (excluding comments). It applies to variable names and RPGIV op-codes. The default is 'U' (upper-case). If any value other than those given below is specified, the default value will be used when generating RPGIV source.

U

Source code is generated in upper-case (e.g. 'NNNNNN')

M

Source code is generated in mixed-case (e.g. 'Nnnnnn')

L

Source code is generated in lower-case (e.g. 'nnnnnn')

2nd character: Comment color in generated source. This specifies the color of any comments generated in the source. The default is 'G' (green). If any value other than those given below is specified, the default value will be used when generating RPGIV source.

G

Comments are generated in green

W

Comments are generated in white

R

Comments are generated in red

B

Comments are generated in blue

P

Comments are generated in pink

YRP4HSP

This model value controls characters 1-80 of data area YRP4HSPRFA.

YRP4HS2

This model value controls characters 81-160 of data area YRP4HSPRFA 2 model values are used because in RPGIV, the H specification can be 160 characters.