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?
How to find occurrence of mu and pe fields in a file?
Explain how to find occurrence of mu and pe fields in a file?
Explain how many work file we can code in jcl?
How to create 1 ddm that fetches 3 adabas files simultaneously?
Can we see the copy book length using file-aid?
Define cobol coding sheet?
How are you going to remove duplicates from the file that is being read?
How can we see the copy book length using file-aid?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
What is a hyperdescriptor?
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 control variable in online screens?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?