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
How converted the natural coding for adabas
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain the address converter?
What is data trace system 2.0 used for?
Explain how to move cursor to a particular field when position is not known?
How to create 1 ddm that fetches 3 adabas files simultaneously?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
What is a hyperdescriptor?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
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?
Explain why do we use file-aid for seqential files?
How to find occurrence of mu and pe fields in a file?
What is the quality process in development?
Can you explain control variable in online screens?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?