Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CALL-PROCEDURE Start command sequence

The CALL-PROCEDURE command starts a stored command sequence (procedure). During processing, symbolic parameters contained in the sequence are replaced by the values specified in the command call (PROCEDURE-PARAMETERS operand).

Note

This command is a component part of BS2000/OSD-BC (status of description: V7.0). In contrast to the SDF-P commands, the caller requires the STD-PROCESSING or HARDWARE-MAINTENANCE privilege.

CALL-PROCEDURE Alias: CL / CLP

FROM-FILE = <filename 1..54 without-gen> / *LIBRARY-ELEMENT(...) / *VARIABLE(...)


*LIBRARY-ELEMENT(...)




LIBRARY = <filename 1..54 without-gen>




,ELEMENT = <composed-name 1..64>(...)





<composed-name 1..64>(...)







VERSION = *HIGHEST-EXISTING / <composed-name 1..24>




,TYPE = *STD / *BY-LATEST-MODIFICATION / <alphanum-name 1..8>


*VARIABLE(...)




VARIABLE-NAME = <composed-name 1..255>

,PROCEDURE-PARAMETERS = *NO / <text 0..1800 with-low>

,LOGGING = *PARAMETERS(...) / YES / *NO /


*PARAMETERS(...)




CMD = *BY-PROC-TEST-OPTION / *YES / *NO




,DATA = *BY-PROC-TEST-OPTION / *YES / *NO

,UNLOAD-ALLOWED = *YES / *NO

,EXECUTION = *YES / *NO

Return codes

The following command return codes can only be returned if the called procedure does not supply any command return code itself (e.g. EXIT-PROCEDURE not executed due to an error).Command return codes whose maincode begins with "SSM" can only be returned when a non-S procedure is called.
Command return codes whose maincode begins with "SDP" can only be returned when an S procedure is called.

(SC2)

SC1

Maincode

Meaning


0CMD0001No error
20SSM2058Protocol type error
20SSM2065EOF on procedure file, /END-PROC simulated

1SSM2036Incomplete operand

1SSM2054Symbolic operand error

1SSM2055Symbolic operand error in /BEGIN-PROC

1SDP0138Error in pre-analysis of text procedure, or object procedure invalid

1CMD0202Syntax error

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64SDP0093Non-S procedure can only be type J element

64SDP0144Error on parameter transfer

64SSM2052DMS error (Open error)

64SSM2053Not a SAM/ISAM file or file does not begin with /BEGIN-PROC or /PROC

64SSM2056/CALL-PROC and /BEGIN-PROC parameters incompatible

64SSM2061Error on accessing library element

64SSM2064Procedure file cannot be fetched by remote processor

64SDP0099No further address space available

xx

xx

xxxxxxx

Other return codes from the called procedure