Logiforce Software & Services.

Advanced Program Interface & Built-In Functions.

IBM i V5R4 - API finder   API finder  
 
Execute command Execute Command (QCMDEXC)  
Call Stack Retrieve Call Stack (QWVRCSTK)  
Scan string Scan for String Pattern (QCLSCAN)  
Job information Retrieve Job Information (QUSRJOBI)     D P_Rcvr S 100
D P_RcvrLen S 10I 0 INZ(100)
D P_Format S 8 INZ('JOBI0100')
D P_ThisJob S 26 INZ('*')
D P_IntJob S 16
* Determine job type (interactive or batch) if first time through
C IF JobType = *BLANKS
C CALL 'QUSRJOBI'
C PARM P_Rcvr
C PARM P_RcvrLen
C PARM P_Format
C PARM P_ThisJob
C PARM P_IntJob
* Interactive (I) / Batch (B)
C EVAL JobType = %SUBST(P_Rcvr : 61 :1)
C ENDIF
     
IBM i V5R3 - BIF list Built-In Functions