End Job Session Exit Program


  Required Parameter Group:

1 Operation (TERM) Input Char(5)
2 File system job handle Input Char(16)

You must supply an End Job Session exit program for your file system. HFS support calls the End Job Session exit program whenever a job that uses the HFS APIs ends. The End Job Session exit program cleans up any work areas that the job used. If your Start Job Session exit program creates temporary work spaces, use the End Job Session exit program to delete them.


Authorities and Locks

None.


Required Parameter Group

HFS support passes this information to the End Job Session exit program:

Operation (TERM)
INPUT; CHAR(5)

The abbreviation for the operation being performed (TERM, meaning end).

File system job handle
INPUT; CHAR(16)

The work area or job identifier for use by the file system.


Error Messages for Exit Program Use

This section lists the messages that the exit program can return to the API.

Message ID Error Message Text
CPF1F76 E Error occurred during end-job-session function


Exit Program Introduced: V2R1
Top | Hierarchical File System APIs | APIs by category