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 |
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?
When is inspect verb is used in cobol?
what is the difference between Plan & package
Why IBM?
if someone is using my file,how can i find which user id is using?
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
What is rmode(any) ?
How much salary you are expecting? If they ask in an interview, what we have to tell?
6 Answers Tech Mahindra, Wipro,
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
File status must be checked both while opening and reading the file or only while reading the file?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What are declaratives and what are their uses in cobol?