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

What do you understand by passing by reference and passing by content?

1 Answers  


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?

2 Answers  


what is SYNCHRONIZATION?

3 Answers   Syntel,


What does the IS NUMERIC clause establish ?

2 Answers  


Why we need to use redefine clause when we can define the variable seperately... what is actual need....

5 Answers   Accenture,


how can we code index in an array of cobol pgm?

1 Answers   Wipro,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


what are the utilities for load and unload the DB2 tables

1 Answers   L&T,


consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

10 Answers   TCS,


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

0 Answers   Amdocs,


Categories