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 a hyperdescriptor?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Explain the like inverted list?
Explain how many work file we can code in jcl?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain how are you going to remove duplicates from the file that is being read?
Can we see the copy book length using file-aid?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
How to receive data passed through jcl parm parameter in a natural program?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What is cobol coding sheet?
What is the quality process in development?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Tell me what type of files we can process thru file-aid?
What is data trace system 2.0 used for?