Answer Posted / jaydip chakrabarty
A control variable is is defined with format C and can be
used to assign field attributes dynamically. It could be
assigned during the map design (element level) as well as
during the programming (statement level).
Example :
DEFINE DATA LOCAL
1 #ATT(C)
1 #A
END-DEFINE
MOVE (AD=I CD=BL) TO #ATT
INPUT #A (CV=#ATT)
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the difference between read(1) and read work file once?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
Explain the difference between external subroutine and subprogram?
What is the quality process in development?
How can we see the copy book length using file-aid?
How are you going to remove duplicates from the file that is being read?
Define cobol coding sheet?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
How to find occurrence of mu and pe fields in a file?
Explain how are you going to remove duplicates from the file that is being read?
Explain how to find occurrence of mu and pe fields in a file?
How converted the natural coding for adabas
What is a hyperdescriptor?
What is a hyperdescriptor? How does it work?
Explain how to move cursor to a particular field when position is not known?