how to move cursor to a particular field when position is
not known?
Answer Posted / satya
You may use #MARK and pass value POS(field-name) to it.
Like below,
#MARK := POS(field-name)
POS(field-name) will give you current position of this
variable on the map
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is cobol coding sheet?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
Explain difference between read(1) and read work file once?
How can we see the copy book length using file-aid?
Tell me can we update with histogram?
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?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain control variable in online screens?
Explain how to find occurrence of mu and pe fields in a file?
Can you explain control variable in online screens?
Explain how are you going to remove duplicates from the file that is being read?
How converted the natural coding for adabas
Explain how to move cursor to a particular field when position is not known?
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 what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?