Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / kunti

If you wish to position the cursor to a specified field,
you can use the MARK option,
eg.
INPUT
MARK *#MAP.#ACTION
USING MAP 'IVCLNTM1'

and and to position to a
particular position within a specified field, you use the
MARK POSITION option.


DEFINE DATA LOCAL
1 #A (A10)
1 #B (N4)
1 #C (N4)
END-DEFINE
*
INPUT (AD=M) #A #B #C
IF #A = ’ ’
COMPUTE #B = #B + #C
RESET #C
REINPUT FULL ’Enter a value’ MARK POSITION 5 IN *#A
END-IF
END

Is This Answer Correct ?    9 Yes 1 No

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

Answer / 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

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

Answer / dd

*#INOUTAC.. toposition cursor dynamically

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Natural Interview Questions

syntax for all WRITE COMMAND in natural language

7 Answers  


Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?

2 Answers   Hexaware,


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

3 Answers  


how many work file we can code in jcl?

2 Answers  


What is a hyperdescriptor? How does it work?

0 Answers  


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

0 Answers  


why do we use file-aid for seqential files?

1 Answers   Tech Mahindra,


How converted the natural coding for adabas

0 Answers  


Explain control variable in online screens?

0 Answers  


difference between escape(top or bottom) and escape immediate(top or bottom?

3 Answers   CTS,


How can we see the copy book length using file-aid?

0 Answers  


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

0 Answers  


Categories