Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SHOW-VARIABLE Output contents of variables

SHOW-VARIABLE outputs the contents of variables.
If SHOW-VARIABLE is applied to a list or an array, the elements are output in the numeric order of their indices.
If SHOW-VARIABLE is applied to a structure, the elements are output in the order of the element declarations.

SHOW-VARIABLE Alias: SHV

VARIABLE-NAME = *ALL / *LIST(...) /





list-poss(2000): <composed-name 1..255> /<structured-name 1..20 with-wild(40)>


*LIST(...)




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




,FROM-INDEX = *FIRST / *LAST / <integer 1..2147483647>




,NUMBER-OF-ELEMENTS = 1 / *REST / <integer 1..2147483647>

,SELECT = *BY-ATTRIBUTES(...)


*BY-ATTRIBUTES(...)




SCOPE = *VISIBLE / *PROCEDURE / *CURRENT / *CURRENT-PARAMETERS / *TASK-VISIBLE /








*TASK-ALL / *CALLING-PROCEDURES




,INITIALIZATION = *YES / *ANY

,INFORMATION = *PARAMETERS(...)


*PARAMETERS(...)




VALUE = *WITHOUT-QUOTES / *C-LITERAL / *X-LITERAL / *NONE




,NAME = *FULL-NAME (...) / *ELEMENT-NAME (...) / *NONE





*FULL-NAME(...)







LIST-INDEX-NUMBER = *NO / *YES





*ELEMENT-NAME(..)







LIST-INDEX-NUMBER = *NO / *YES

,OUTPUT = *SYSOUT / *SYSLST / <filename 1..54 without-gen-vers>(...) / *VARIABLE(...) /





*LIBRARY-ELEMENT(...)


<filename 1..54 without-gen-vers>(...)




WRITE-MODE = *REPLACE / *EXTEND


*VARIABLE(...)




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




,WRITE-MODE = *REPLACE / *EXTEND


*LIBRARY-ELEMENT(...)




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




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





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







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




,TYPE = S / <alphanum-name 1..8>




,WRITE-MODE = *REPLACE / *EXTEND

Return codes

It is possible that part of the command has been processed and executed when the error occurs. In this case, the result of the command is not guaranteed.

(SC2)

SC1

Maincode

Meaning/Guaranteed messages


0CMD0001No error
10CMD0001Warning; no variable found

1CMD0202Syntax error

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64SDP0091

Semantic error

Guaranteed message: SDP1008


130SDP0099No further address space available