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
how do you reference the rrds file formats from cobol programs
What is the LINKAGE SECTION used in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How arrays can be defined in COBOL?
What is the use of intialize verb?
What are the different open modes available in cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How do get the result of your program directly on your pc?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What are the different rules for performing sort operation?
What is the difference between perform … with test after and perform … with test before?
how to refer the data field?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write a program to explain size error.