Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
DECLARE-VARIABLE Declare variable
DECLARE-VARIABLE is used to define the attributes of this variable and possibly an initial value as well.
Job variables can be integrated in SDF-P via the CONTAINER operand.
DECLARE-VARIABLE Alias: DCV |
VARIABLE-NAME = list-poss(2000): <structured-name 1..20>(...) |
| <structured-name 1..20>(...) |
|
|
| INITIAL-VALUE = *NONE / <text 0..1800 with-low expr> |
|
|
| ,TYPE = *ANY / *STRING / *INTEGER / *BOOLEAN / *STRUCTURE(...) |
|
|
|
| *STRUCTURE(...) |
|
|
|
|
|
| DEFINITION = *DYNAMIC / *BY-SYSCMD / <structured-name 1..20> | ,MULTIPLE-ELEMENTS = *NO / *ARRAY(...) / *LIST(...) |
| *ARRAY(...) |
|
|
| LOWER-BOUND = 0 / *NONE / <integer -2147483648..2147483647> |
|
|
| ,UPPER-BOUND = *NONE / <integer -2147483648..2147483647> |
| *LIST(...) |
|
|
| LIMIT = *NONE / <integer 1..2147483647> | ,SCOPE = *CURRENT(...) / *PROCEDURE(...) / *TASK(...) |
| *CURRENT(...) |
|
|
| IMPORT-ALLOWED = *NO / *YES |
| *PROCEDURE(...) |
|
|
| IMPORT-ALLOWED = *NO / *YES |
| *TASK(...) |
|
|
| STATE = *ANY / *NEW / *OLD | ,CONTAINER = *STD / <composed-name 1..64> / *VARIABLE(...) / *JV(...) |
| *VARIABLE(...) |
|
|
| VARIABLE-NAME = <structured-name 1..20> |
|
|
| ,SCOPE = *VISIBLE / *TASK |
| *JV(...) |
|
|
| JV-NAME = <filename 1..54> |
|
|
| ,STATE = *ANY / *NEW / *OLD |
|
Return codes
(SC2) | SC1 | Maincode | Meaning/Guaranteed messages |
| 0 | CMD0001 | No error |
1 | 0 | CMD0001 | Nothing executed; element already declared |
| 1 | CMD0202 | Syntax error |
| 3 | CMD2203 | Incorrect syntax file |
| 32 | CMD0221 | System error (internal error) |
| 64 | CMD0216 | Do not have required privilege |
| 64 | SDP0091 | Semantic error Guaranteed messages: SDP1018, SDP1030 |
| 130 | SDP0099 | No further address space available |