Explain Restart Logic in Cobol?
Answer / yogesh
it will strat doing exection from previous records where it
will get an abend.
| Is This Answer Correct ? | 3 Yes | 8 No |
Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS
How can we increase the size of an existing PDS to include more no. of modules.
Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?
7 Answers Bank Of America, Mind Tree,
What is comp-1 and comp-2?
consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
How many maximum number of procedures can we write in one COBOL program?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the figurative constant in cobol?
where will we code call by content and call by reference dude pls reply soon ?
Write a program that uses move corresponding.
Can the OCCURS clause be at the 01 level?
What is the Importance of GLOBAL clause According to new standards of COBOL?