give the examples for strings and unstrings in cobol
Answer Posted / gopi
String: It is a command which is to concatenates multiple variables into a single variable.
Ex: STRING yy,
"-",
mm,
"-",
dd
deliminate by size
Into ws-date.
End-string.
Unstring:It is a command which is to deconcatenates single variable into a multiple variables.
Ex: UNSTRING
ws-date.
deliminate by "-"
INTO
yy,
mm,
dd
End-string.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
Explain how to differentiate call by context by comparing it to other calls?
Difference between cobol and cobol-ii?
What is the use of intialize verb?
What are literals?
Write a program to enter and display the names of students in a class using the occurs clause.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Write a program to explain size error.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is the use of outrecord?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Can we redefine the field of x(200) to less than 200?
What are the various section in data division and briefly explain them.
What is the difference between binary search and sequential search?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?