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


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?

750


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

713


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

757


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

743


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

778


Define cobol coding sheet?

734


Explain the like inverted list?

727


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

726


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?

1681


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

771


What is the quality process in development?

798


What is a hyperdescriptor? How does it work?

817


Can we see the copy book length using file-aid?

683


Can you explain control variable in online screens?

749


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

719