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
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How are the next sentence and continue different from each other?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
how do you reference the rrds file formats from cobol programs
In which area will you utilize 88 level items in cobol?
Explain how you can characterize tables in cobol?
What is redefines clause in COBOL?
What is cobol?
What is comp-1 and comp-2?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the Purpose of Pointer in the string?
How do you reference the fixed block file formats from cobol programs
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Difference between array and sub-script ?