What is the difference between write & move in COBOL.? What is the meaning of 'TALLING' verb in cobol? What is the meaning of 'Eject' verb in cobol?

Showing Answers 1 - 10 of 10 Answers

Pradeep

  • Nov 17th, 2005
 

I want lokk into the mainframes question listed in this site.

  Was this answer useful?  Yes

Uday

  • Nov 17th, 2005
 

Write basically moves value to device file like disk/screen.

Whereas MOVE is used in program to move values between variables

  Was this answer useful?  Yes

srinivas

  • Nov 22nd, 2005
 

clarifying the doubts

  Was this answer useful?  Yes

mkaish

  • Dec 5th, 2005
 

write is use to write the record in file while move is used to move the data into variable for eg. screen section move records from data division to screen section varibles.

  Was this answer useful?  Yes

sunil

  • Dec 31st, 2005
 

write means u r inserting records in to a file

move means u r passing data from one variable to another

for exp a=10 b=0

move a to b

now b=10.

write record name

here u r inserting records into file.

talling is to be used for word counting

  Was this answer useful?  Yes

anjan

  • Apr 27th, 2006
 

MOVE moves the value to a variable where as we r inserting/writing a record into a file. so both does the different thing.

  Was this answer useful?  Yes

kavitha

  • Sep 25th, 2006
 

1. Move verb is to move the value or data to one variable. where in Write command is to write records to file.

2.Tallying verb is used for counting

Shasha

  • Nov 8th, 2006
 

 'EJECT' will come into effect when you are going to take the print of the program. Whenever this verb encounters, the printer prints the matter after this verb onto a new page.

  Was this answer useful?  Yes

dipti

  • Dec 12th, 2006
 

there is a registor called tally so the count is stored in this tally reg using tally verb

move to move the values between variables or between literals and variables or between corresponding variables having the same qualifiers

write is used to write a record in a file

  Was this answer useful?  Yes

MOVE copies data from one field within the program to another. WRITE creates an entire record that is written to an external file defined to the program.

I believe you are referring to 'TALLYING', which is an internal counter used with the INSPECT verb.

EJECT is not actually a COBOL verb. Instead, like SKIP, it is a command to compiler to format the printing of the compiled listing.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.