Question: COBOL Language The STRING statement: a. allows us to divide a string into snaller pieces. b. allows us to concatenate string of characters. e. allows

COBOL Language  COBOL Language The STRING statement: a. allows us to divide a

The STRING statement: a. allows us to divide a string into snaller pieces. b. allows us to concatenate string of characters. e. allows us to count the number of characters in the string. d. allows us to replace one character by another. 10. The UNSTRING statement allows us to: a. divide a string into snaller pieces. b. concatenate string of characters. c. count the number of characters in the string. d. replace one character by another. 12 The statement PERFORM PROCEDURE-1 VARYING SUB FRO BY 3 UNTIL SUB = 5. a. will terminate when SUB has the value 5. b. will terminate when SUB has the value 1. c. will terninate when SUB has the value 3. d. will cause an infinite loop. Identify errors in the following set of entries if any (Evaluate each statement independently) INSPECT AMOUNT-IN REPLACING ALL LEADING 2EROS BY SPACES. MOVE ZERO TO COUNTER INSPECT DESC-IN TALLY COUNTER FOR "xyz" PERFORM 200-PROCESS VERYING SUB 1 BY 1 UNTIL SUB >20 OR -FOUND=. 15. 01 RECORD-COLLECTION-ARRAY occURS 10 TIMES INDEXED BY EX1. 16 5 STUDENT-RECORDS 10 NAME 10 GPA PIC X (20). PIC 9v9999. SET 1 TO EX1 SEARCH ALL RECORD-COLLECTION-ARRAY AT END PERFORM 500-ERROR-ROUTINE WHEN NAME-IN-NAME (EX1) . 8. CALL INITIALIZE HOURS-WORKED. 'Called1 , USING HOURS-WORKED, HOURLY-RAE, PAY

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!