Without using move verb how to move one variable to another.
Answer Posted / bala
We can do this in multiple ways.
1) Using UNSTRING
2) COMPUTE
3) Also, REFERENCE MODIFICATION i.e, if XYZ is a variable with value 'all interview' then
A = XYZ(1:3) moves the first 3 characters of XYZ variable to A.
i.e, A value will be 'all'
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What are the different rules of SORT operation?
Name some of the examples of COBOl 11?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Write a program to enter and display the names of students in a class using the occurs clause.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What are the different rules for performing sort operation?
What are the different rules to perform a Search?
how to refer the data field?
What guidelines should be followed to write a structured cobol prgm?
How do get the result of your program directly on your pc?
What is the problem of ordered sequential files access?