Can we put move statement in COBOL copybook
Answer Posted / tata
we can use move in copy book. but
if ur copybook contains procedure division statements
with move statement.. then that variables which were wriiten
with move statement, should be declared in ws-section of
data division.
in this particular case only this is possible.. in all
other cases this is not popssible.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
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?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is comp-1 and comp-2?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the difference between goback, stop run and exit program in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
What is difference between static and dynamic call in cobol?
how to convert the recors form vsam file to db2 table tru file aid
Difference between array and sub-script ?
what is the use of outrecord?
Write a program to explain size error.
How do define dynamic array in cobol.