Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

IMPORT-VARIABLE Import variable

The IMPORT-VARIABLE command is used to import a previously declared variable into the called procedure. It is equivalent in many ways to DECLARE-VARIABLE, but eliminates the need to repeatedly list all assigned attributes.

IMPORT-VARIABLE

VARIABLE-NAME = <structured-name 1..20 with-wild(40)> / list-poss(2000): <structured-name 1..20>

,FROM = *SCOPE(...)


*SCOPE(...)




SCOPE = *TASK / *CALLING-PROCEDURES

Return codes

(SC2)

SC1

Maincode

Meaning


0CMD0001No error
10CMD0001Warning: element already declared
20SDP2000Warning: not all elements of the input list could be processed successfully.
Guaranteed message: SDP2000

1CMD0202Syntax error

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64SDP0091Semantic error
Guaranteed messages: SDP1008, SDP1018

64SDP2001None of the elements could be imported

130SDP0099No further address space available