Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SUBCODE2( ) - Interrogate subcode2

&pagelevel(5)&pagelevel

Domain:     

Return codes

The SUBCODE2 function supplies the value of subcode2 of the current return code. Subcode2 can contain additional information. If subcode1 is equal to zero, SDF-P does not report an error. In this case, a return code cannot be interpreted unless it has been saved with the SAVE-RETURNCODE command.

SUBCODE2( ) is not available outside of procedures and dialog blocks.

Format

SUBCODE2( )                                                                                                                                                

SC2( )


Result type

INTEGER (<integer 0..255>)

Input parameters

None

Result

Value of subcode2 as an integer value (<integer 0..255>)