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

How converted the natural coding for adabas

2953


Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

776


Explain the address converter?

803


What is data trace system 2.0 used for?

5417


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

783


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

738


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

785


What is a hyperdescriptor?

730


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

794


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?

1700


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

810


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

702


What is the quality process in development?

823


Can you explain control variable in online screens?

773


Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

853