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
What is the difference between comp and comp-3?
Have you used comp and comp-3 in your project? And how?
how can i see junk values in dclgen or in hostvariable of comp ?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Difference between array and sub-script ?
What is a SSRANGE and NOSSRANGE?
example for sub strings ? and refernce modifications whit output pls
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
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to know whether the module is dynamical or statistical?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Can a Search can be done on a table with or without Index?
What are the different data types in cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?