9.32 CREATE_PROMPT_FILE
Þ Note: Built-In Function Rules.
This Built-In Function is used to create a physical file containing all Promptable File Library Variables extracted from the importing package in a runtime environment. The generated file can be used to update the variables' values before calling the IMPORT_OBJECTS Built-In Function.
The generated file is only valid to the IMPORT_OBJECTS Built-In Function when the CREATE_PROMPT_FILE and IMPORT_OBJECTS are in the same session.
For use with
LANSA for i
|
No
|
Visual LANSA for Windows
|
Yes
|
Visual LANSA for Linux
|
No
|
|
Arguments
No
|
Type
|
Req/ Opt
|
Description
|
Min Len
|
Max Len
|
Min Dec
|
Max Dec
|
1
|
A
|
Req
|
Importing Package Folder
|
1
|
256
|
|
|
2
|
A
|
Req
|
Requested File Type.
The supported file type values are: *ImportLibraryVar: Import substitution variables.
|
1
|
20
|
|
|
|
Return Values
No
|
Type
|
Req/ Opt
|
Description
|
Min Len
|
Max Len
|
Min Dec
|
Max Dec
|
1
|
A
|
Req
|
Return values are:
OK: A file is generated.
NR: No promptable variable found. No file is created.
ER: Invalid argument or invalid environment. For example, ER is returned for an IBM i.
|
2
|
2
|
|
|
2
|
A
|
O
|
The newly created file.
|
1
|
256
|
|
|
|