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 can we see the copy book length using file-aid?
Explain how many work file we can code in jcl?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
The natural file converted to PDF file if Yes then explain ?
Define cobol coding sheet?
How to create 1 ddm that fetches 3 adabas files simultaneously?
Explain how to find occurrence of mu and pe fields in a file?
What is cobol coding sheet?
Explain how are you going to remove duplicates from the file that is being read?
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?
Explain the difference between external subroutine and subprogram?
What is the difference between read(1) and read work file once?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Tell me can we update with histogram?