Download SOLVE:EPS User's Guide

Transcript
Dataset User Exit
Data Objects Available to the Dataset User Exit
return Object Fields for the Dataset User Exit
This is a constant object containing fields for setting the rc object in a Dataset User Exit.
Table A-25 Return Object Fields for Dataset User Exit
Field Name
Data Type
Comments
data
number
Indicates that SOLVE:EPS should insert returnstring text into the
output according to the settings in returnstring options.
startpage
number
Indicates that SOLVE:EPS should perform the appropriate page
break processing on the output. The returnstring object is ignored for
this return code.
done
number
Indicates that SOLVE:EPS should not call the Dataset User Exit for
this call type and data set again. The returnstring object is ignored
for this return code.
time Object Fields for the Dataset User Exit
This is a constant object holding date and time information for use in a Dataset User Exit. These fields are
set just before the call when call number == 1
Table A-26 Time Object Fields for Dataset User Exit
Field Name
Data Type
Comments
seconds
number
Seconds after the minute (0-59).
minutes
number
Minutes after the hour (0-59).
hour
number
Hours since midnight (0-23).
dayofmonth
number
Day of the month (1-31).
month
number
Month of the year (1-12).
century
number
Century (two digits).
year
number
Year (two digits only).
fullyear
number
Year (four digits).
dayofweek
number
Days since Sunday (0-6).
dayofyear
number
Day of the year (1-366).
jobdisposition Object Fields for the Dataset User Exit
This constant object contains values for interrogating a SOLVE:EPS job disposition. The term job
disposition refers to what is to be done with a job after it prints successfully. The following table describes
the jobdisposition fields:
Table A-27 Jobdisposition Object Fields for Dataset User Exit
User Exits
Field Name
Data Type
Comments
purge
number
Indicates that SOLVE:EPS is to purge the job after successful
printing.
hold
number
Indicates that SOLVE:EPS is to hold the job after successful printing.
A – 25
Related documents