control variable in online screens

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


Please Help Members By Posting Answers For Below Questions

What is the difference between read(1) and read work file once?

574


Explain adabas basic concepts. Like inverted list, address converter ,data storage?

566


Explain the difference between external subroutine and subprogram?

616


What is the quality process in development?

572


How can we see the copy book length using file-aid?

553






How are you going to remove duplicates from the file that is being read?

546


Define cobol coding sheet?

570


What is the difference between escape(top or bottom) and escape immediate(top or bottom?

561


How to find occurrence of mu and pe fields in a file?

490


Explain how are you going to remove duplicates from the file that is being read?

557


Explain how to find occurrence of mu and pe fields in a file?

505


How converted the natural coding for adabas

2692


What is a hyperdescriptor?

530


What is a hyperdescriptor? How does it work?

639


Explain how to move cursor to a particular field when position is not known?

540