Use of Built-in Functions

The generated description of the built-in functions are independent of the program, owner and command names. This may make it difficult to use them. Below, you can find some examples for the use of built-in functions of FLAM4.

To get the syntax for command CONV:
 :> flam4 syntax conv

To get the syntax for the overlay read of command CONV:
 :> flam4 syntax conv.read

To get the syntax for the object text of overlay read of command CONV:
 :> flam4 syntax conv.read.text

To get the complete syntax (not only one level) of overlay write of
command CONV:
 :> flam4 syntax conv.write all

To get the help for command INFO:
 :> flam4 help info

To get the complete help for the overlay GET of command INFO:
 :> flam4 help info.get all

To get the manual page for the overlay GET of command INFO:
 :> flam4 help info.get man

To generate the manpage for command CONV:
 :> flam4 manpage conv=manconv.txt

To generate the manual for command CONV:
 :> flam4 gendocu conv=docconv.txt

To generate the complete user manual for FLCL:
 :> flam4 gendocu=docflcl.txt

To change the properties for command FLAM:
 :> flam4 chgprop flam mode=VR8 inrecformant=undefined cut=ON

To generate and activate a property file for command CONV:
 :> flam4 genprop conv=conv.prop
 :> flam4 setprop conv=conv.prop

To list all defined properties:
 :> flam4 getprop

To list all properties for command INFO:
 :> flam4 getprop info depall

To list only the defined properties for command INFO:
 :> flam4 getprop info defall

Delete a property file for command CONV from the configuration:
 :> flam4 delprop conv

To define "HUGO" as owner:
 :> flam4 setowner HUGO

To get the current owner:
 :> flam4 getowner

To define a environment variables:
 :> flam4 setenv LANG=DE_DE.CP1252

To list all defined environment variables:
 :> flam4 getenv

To delete a environment variable:
 :> flam4 delenv LANG

To activate tracing in a file:
 :> flam4 trace file=trace.txt
 :> flam4 trace on

To deactivate the trace:
 :> flam4 trace off

To list all the defined data in the configuration file:
 :> flam4 config

To delete all the configuration settings from the configuration file:
 :> flam4 config clear

All built-in functions not listed here do not require any parameters. On mainframe systems, using built-in functions in JCL looks like:

 //* SET ENVIROMENT VARIABLE LANG (IMPORTANT FOR AUTO CONVERSIONS)
 //SETENVL EXEC PGM=FLCL,PARM='setenv LANG=DE_DE.IBM-1141'
 //STEPLIB  DD DSN=&SYSUID..FLAM.LOAD,DISP=SHR
 //SYSPRINT DD SYSOUT=*
 //SYSOUT   DD SYSOUT=*
 //*

For documentation, help and syntax you can also use the ISPF commands FLDOC, FLHLP and FLSYN under menu 6.

 FLDOC CONV
 FLHLP XCNV.INP
 FLSYN UTIL