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 difference between read(1) and read work file once?
Explain how are you going to remove duplicates from the file that is being read?
Can you explain control variable in online screens?
Explain the difference between external subroutine and subprogram?
What is the difference between read(1) and read work file once?
Explain the data storage?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
How converted the natural coding for adabas
Explain how many work file we can code in jcl?
What is cobol coding sheet?
What is a hyperdescriptor?
Explain how to move cursor to a particular field when position is not known?
What is the 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?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?