MPE/iX - CI Programming for Stability
July 18, 2008 HP World '01 24
CI functions (cont)
• job/process functions:
• JINFO, JOBCNT, PINFO
• misc. functions:
• ANYPARM, BOUND, INPUT, SETVAR, TYPEOF
• new to 7.5: devinfo, volinfo, spoolinfo:
Return info about devices, volumesets, and spoolfiles. See Jazz for details.
• new to 7.5: user defined functions:
Function name is a filename. HPPATH is used to locate the function file. RETURN
command accepts an expression used as the function return. HPRESULT variable
holds the function return.
Examples:
• if myFunc( a, b, c ) then ...
• if compare( result ) < compare( last ) then ...
• if get_user_data( start, end ) = 0 then ...
• if get_device_info( ldev, “state” ) = “READY” then ...