To invoke CULLUS10:
First—Define a 1-character alphanumeric work field, initialized with a return format code (see below under format-v) or a blank, as the sending field.
Second—Define an 8-byte numeric work field, initialized to zero, for each receiving field.
Third—Issue a CALL to CULLUS10 in type 7 logic:
Col 2 ▼ RPT-nn7sssCALLUSnn(format-v date-mdcy-v date-ccyy-v date-mm-v date-dd-v time-v)
Format code... |
Specifies... |
And returns the... |
---|---|---|
'2' |
mmddyy |
System date |
'3' |
yy |
System year |
'4' |
mm |
System month |
'5' |
dd |
System day |
'6' |
mmddyy/hhmmss |
System date and time |
'7' |
hhmmss |
System time |
'8' |
mmddccyy |
System date with century |
'9' |
ccyy |
System year with century |
'0' |
mmddccyy/hhmmss |
System date and time with century |
Fourth—Test the value of the sending work field in type 7 logic. If the value is 'E', an invalid field specification exists.
Copyright © 2014 CA.
All rights reserved.
|
|