give the examples of strings in cobol

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which division and paragraphs are mandatory for a COBOL program?

936


What is a scope terminator give example?

844


what is the difference between COBOL2 AND COBOL390?

2739


HOw can I get the negative sign while deduct high value from low value

2019


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

861


What is the Purpose of POINTER Phrase in STRING command in COBOL?

976


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1085


How you can read the file from bottom?

884


Mention the guidelines to write a structured cobol program?

842


What are the different rules for performing sort operation?

983


Write some characteristics of cobol as means of business language.

859


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2328


What is inspect in cobol ?

1025


A table has two indexes defined. Which one will be used by the SEARCH?

1030


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2237