Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is a Specialized Built-In Function for use in a Development Environment only.

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Name of application template that will be used later via the EXECUTE_TEMPLATE Built-In Function.

1

10



2

L

Req

List of related files previously built by the TEMPLATE_ @@GET_FILS command with the "selection" flag set to a non-blank value to indicate a file that is to be selected.

The first entry in the list is the base file and it must always be selected. Working list must have an aggregate length of 40 bytes and is formatted as follows:

From - ToDescription

1 - 1   Selection Flag. First entry returned as X. Others returned as blanks.

2 - 11   File Name. Format Alpha.

12 - 21   File Library. Format Alpha.

22 - 22   File Type:
   P =  Physical.
   L = Logical.

23 - 32   Underlying Physical File. If this file is a physical file then this name will be the same as the entry file name. Format Alpha.

33 - 35   Related file entry number.
Format Signed(3,0).
1 = the file is directly related to the base file or is the base file.
other = file is indirectly related to the base file via the file specified by this entry number.

36 - 36   Nature of relationship between this file and the related file.
   P = Primary or Base File.
   O = One to One
   M = Many.

37 - 40   <<future expansion>> A(4)





Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = operation completed

ER = fatal error detected

2

2