RENAME clause takes new SPACE in memory.TRUE or FALSE?
a)TRUE
2)FALSE
Answers were Sorted based on User's Feedback
Answer / mayank rastogi
FALSE.
The RENAMES clause does not use any extra space within the program as all it is doing is supplying a replacement name for use in a data definition attached to the program.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / rajesh
False.
It will take the space of the redefined variable when used.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / shiva
REDEFINES AND RENAMES ARE USED FOR REUSING STORAGE SPACE....
HENCE RENAME DOES NOT USE NEW SPACE IN MEMORY
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / amar
false.
because rename clause is used for rename the
variable/identifier/data name.
redefines clause will take extra space. because we define
data names tow times in working storage section.
| Is This Answer Correct ? | 0 Yes | 0 No |
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
What is the difference between comp and comp-3 usage?
which one is better among static call and dynamic call?
What is the file organization clause ?
What are the differences bitween cobol and cobol-2?
What is COMP SYNC?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
give the examples of strings in cobol