TSO-ISPF JCL COBOL VSAM DB2 CICS Tools Articles Job Portal Forum Quiz Interview Q&A

COBOL - Switch Status Condition


The switch-status condition determines the on or off status of an UPSI switch.

Format:

>>-condition-name----><

condition-name

Must be defined in the special-names paragraph as associated with the on or off value of an UPSI switch. (See SPECIAL-NAMES paragraph.)

The switch-status condition tests the value associated with condition-name. (The value is considered to be alphanumeric.) The result of the test is true if the UPSI switch is set to the value (0 or 1) corresponding to condition-name.


Don't worry if you are not clear. We don't prefer to use this in real time application.

If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!

Are you looking for Job Change? Job Portal