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 happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

546


Explain how many work file we can code in jcl?

568


How converted the natural coding for adabas

2684


Can you explain control variable in online screens?

554


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

592






Explain why do we use file-aid for seqential files?

576


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

556


What is cobol coding sheet?

715


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

554


What is a hyperdescriptor?

522


Explain control variable in online screens?

551


How to create 1 ddm that fetches 3 adabas files simultaneously?

535


How to receive data passed through jcl parm parameter in a natural program?

553


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

569


Tell me can we update with histogram?

604