This appendix discusses the editing aXes text files on the IFS.

All aXes files on the IFS are owned by the AXES user profile.

All aXes files on the IFS are marked with the CCSID attribute value of 819 except the hidden .axespwd files which have a CCSID of 37.

Editing the aXes Servers’ Configuration File

The Edit File (EDTF) CL command allows you to edit a stream file or a database file. The command is shipped with the base code of IBM i. The EDTF utility is a fairly primitive text editor but it is a quick and convenient method of making changes to stream files.

To edit an aXes server configuration file with EDTF, you can run the command directly, or you can select option 22=Edit configuration from the Work with aXes Servers (WRKAXESSVR) panel.

To run the EDTF command directly, perform the following steps:

Step 1: Start the file editor

Type the EDTF command on an IBM i command line and press F4. The Edit File (EDTF) command prompt will be shown. The command prompt show two parameters:

If you want to edit a stream file, enter the directory path and the name of the file in the Stream file (STMF) parameter.

If you want to edit a database file, enter the database file name and library.

Edit File (EDTF)

Type choices, press Enter.

Stream file, or . . . . . . . . _________________________________

Data base file . . . . . . . . . __________ Name

Library . . . . . . . . . . . *LIBL_____ Name, *LIBL, *CURLIB

Bottom

F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display

F24=More keys

Step 2: Define directory path and file name

Enter the directory path and name of the file to be edited in the Stream file (STMF) parameter. In our example, we edit an aXes-TS configuration file. In this example, the file is located in the /axes/configs directory.

Edit File (EDTF)

Type choices, press Enter.

Stream file, or . . . . . . . . > /axes/configs/aXesTS.conf______

Data base file . . . . . . . . . __________ Name

Library . . . . . . . . . . . *LIBL_____ Name, *LIBL, *CURLIB

Bottom

F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display

F24=More keys

Step 3: Edit the file

After the Edit File (EDTF) command is invoked, you see a display similar to the example shown above.

When editing a file with the EDTF command, line commands are available, such as:

I for inserting a line

D for deleting a line

C for copying a line

R for repeating a line

To see an overview of the available line commands, position the cursor on one of the input lines and press function key F1 for help. You receive a help display showing you which commands are allowed.

Edit File: /axes/configs/aXesTS.conf

Record . : ______1 of 61 by __8 Column: ___1 of 80 by _74

Control : _________________________________________________________

CMD ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+

___ ************Beginning of data**************

___ #

___ # Default aXesTS configuration file

___ # Uncomment (remove the #) and alter as required

___ #

___ # We compress by default

___ #Compress=1

___

___ # Any response less than 400 bytes will not be compressed

___ #ZipLimit=400

___

___ # The elapsed time before the browser client intervenes

___ # This time must be less than the “-idel-timeout” specified

___ # on the FastCgi directives (FastCgiServer and FastCgiExternalServer)

___ # in the aXesW3 configuration file.

___ #TSInactiveLimit=30

___

 

F2=Save F3=Save/Exit F12=Exit F15=Services F16=Repeat find

F17=Repeat change F19=Left F20=Right

Step 3: Save the changed file

After you edit the file, press function key F3 (Save/Exit) to save your changes and exit the EDTF command.

 

Administrators

Legal Mentions

aXes is brought to you by:

LANSA

Serving the IBM i community for 30 years.