JCL执行上述COBOL程序 - //SAMPLE JOB(TESTJCL,XXXXXX),CLASS = A,MSGCLASS = C //STEP1 EXEC PGM = HELLO 编译并执行上述程序时,会产生以下结果 - IN LOOP 1 - IF BLOCK IN LOOP 2 - ELSE BLOCK 关系条件 关系条件比较两个操作数,其中任何一个都可以是标识符,文字或算术表达式。
Conditional compilation directives may appear in copybooks. Notes: Conditional compilation directives can be included in a file that contains the BASIS statement, but in that file, conditional compilation directives do not control the inclusion or exclusion of source from that file. Instead, the condi...
COBOL Community Connect with business and technical experts Conditional GO TOThe conditional GO TO statement transfers control to one of a series of procedures, depending on the value of the data item referenced by identifier-1. Format 2: conditional GO TO statement GOTOprocedure-name-1DEPENDINGON...
NB: If (Value <= 0) or (Value > number of items in the array), the color returned is "Transparent" If RegionID was 2 then it would return “Blue”. But often you just have a string value, ie: RegionName. So you could use Switch statement to cr...
The If Statement With the If statement,simple decision making in Visual Basic takes place, which has the following general format. A D V E R T I S E M E N T If condition Then ...statements End If Conditional Operators Using relational operators,conditional expressions are set up to compa...
Also found in: Dictionary, Thesaurus, Medical, Legal. conditional expression[kən′dish·ən·əl ik′spresh·ən] (computer science) A COBOL language expression which is either true or false, depending upon the status of the variables within the expression....