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?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Explain the difference between external subroutine and subprogram?
How to find occurrence of mu and pe fields in a file?
Can you explain control variable in online screens?
How to receive data passed through jcl parm parameter in a natural program?
Tell me what type of files we can process thru file-aid?
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?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
What is a hyperdescriptor?
How converted the natural coding for adabas
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
How are you going to remove duplicates from the file that is being read?
Explain why do we use file-aid for seqential files?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?