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 |
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
How to read a 100 record from a file through cobol?
What is different between variable length and fixed length?
Can we use redefine clause in occurs clause?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is a SSRANGE and NOSSRANGE?
suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
What is the mode in which you will OPEN a file for writing?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
what are the limitations of Inline Perform?
wht is the difference between goto and perform stmts