give the examples of strings in cobol
Answer / sravani
using strings we can move a value from one variable to one or more variables.
01 a pic a(3) value 'new'.
01 b pic a(3).
p.division
string a delimited by size to b.
display b.
ans: new
| Is This Answer Correct ? | 2 Yes | 0 No |
. How do we cast a variable in COBOL
I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you
What is the difference between a binary search and a sequential search?
If we use GO BACK instead of STOP RUN in cobol?
A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
what is the minimum number of lines a Cobol program should have to successfully compile and run
Discuss about changing dataset name in proc.
level number 77 is used to define a)group data b)elementary data c)redefine d)none
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
what are the limitations of Inline Perform?
can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?