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
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain the address converter?
Explain how many work file we can code in jcl?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Can we see the copy book length using file-aid?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
Explain the data storage?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?
What is a hyperdescriptor?
Can you explain control variable in online screens?
How are you going to remove duplicates from the file that is being read?
Explain control variable in online screens?
What is a hyperdescriptor? How does it work?