Loading...
   
      
 
                    Select Version
                  
                   
                
                          &pagelevel(3)&pagelevel
Output return code of the last command
| Component: | SDF | 
| Functional area: | SDF control | 
| Domain: | SDF | 
| Privileges: | STD-PROCESSING | 
Function
The SHOW-RETURNCODE command outputs the return code of the last entered command at SYSOUT.
Format
| SHOW-RETURNCODE  | Alias: SHRTC | 
Return codes
| (SC2) | SC1 | Maincode | Meaning | 
|---|---|---|---|
| 0 | CMD0001 | No errors | 
Example
/show-file-attr xxx.file
% DMS0807 ERROR FROM SHOW-FILE-ATTRIBUTES FILE-NAME ':2OS6:$USER1.XXX.FILE' % DMS0533 REQUESTED FILE NOT CATALOGED IN PUBSET '2OS6'. COMMAND TERMINATED
/show-ret
%Returncode: %Subcode2 = 0 %Subcode1 = 64 %Maincode = DMS0533