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

Explain difference between read(1) and read work file once?

545


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

542


Can you explain control variable in online screens?

550


Explain the difference between external subroutine and subprogram?

604


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

560






Explain the data storage?

547


Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?

564


How converted the natural coding for adabas

2680


Explain how many work file we can code in jcl?

562


What is cobol coding sheet?

708


What is a hyperdescriptor?

516


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

527


What is the difference between read work file 1 and read work file once? Why we are using work file once?

520


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

550


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

598