Coding the callable services

A callable service is a programming interface that uses the CALL macro to access system services. To code a callable service, code the CALL macro followed by the name of the callable service, and a parameter list; for example:
           CALL service,(parameter list)
The syntax diagram for the sample callable service SCORE:
Syntax Description

CALL SCORE

 
,(test_type
,level
,data
,format_option
,return_code)
 

Considerations for coding callable services are: