give the examples of strings in cobol



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

Post New Answer

More COBOL Interview Questions

Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.

3 Answers  


what is record label is empty or standard in file description of data division?

2 Answers   HCL,


How many bytes do a s9 (7) comp-3 field occupy?

1 Answers  


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

0 Answers   IBM,


Suppose i want to declare a binary comp fild of 7 byte .how to write?

6 Answers   IBM,






01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??

1 Answers  


How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)

9 Answers   Bank Of America,


what is amode(24), amode(31), rmode(24) and rmode(any)?

0 Answers  


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,


What is an index for tables?

2 Answers  


Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?

1 Answers   Accenture,


how will u code parm parameter and where pls ?

3 Answers   DELL,


Categories