Function Name: JobAction

Perform Job Action corresponding to passed numeric action code. See Job Action Codes for DLL Calls for more information

Inputs:  Parm1 = Job Instance UJP pathname

         Parm2 = Depends on Action Code

         Parm3 = Action Code

Status:  Depends on Action Code

Returns: >=0 for success or <0 if error

 

Function Name: NotifyFS

Generate and submit a Notification FS file from a passed template  (see sample files NOTIFYx.FST)

Inputs:  Parm1 = Job Instance UJP pathname
         Parm2 = FS Template pathname
         Parm3 = 0: return 0 on success
                 1: return FS number generated 

Returns:  0 for success or <0 if error

         -1 = instance not found
         -2 = no notification target found in UJP
         -4 = cannot get next FS filename
         -5 = cannot write temp FS file
         -6 = cannot rename temp FS file to .FS