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 |
What is an in-line perform ?
A s9(4). B v9(4) value 0.21 can i move this?
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
can we redefine 77 level item is it possible
If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
in cobol perform stmt whether it first checks the condition or not
write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...
Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you
wht is the difference between goto and perform stmts
How can you add a particular field/coloumn in copybook?
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)