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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

998


Tell me what type of files we can process thru file-aid?

879


What is data trace system 2.0 used for?

5571


What is the quality process in development?

1018


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

913


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

913


Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?

964


Define cobol coding sheet?

933


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

943


Explain difference between read work file 1 and read work file once? Why we are using work file once?

906


How to create 1 ddm that fetches 3 adabas files simultaneously?

865


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?

1834


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

829


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

929


Explain the difference between external subroutine and subprogram?

1120