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 can i get the cursor position in display screen to
to display my window?

Answers were Sorted based on User's Feedback



how can i get the cursor position in display screen to to display my window? ..

Answer / gurjit oberoi

Or we can ude file information data structure

Is This Answer Correct ?    3 Yes 1 No

how can i get the cursor position in display screen to to display my window? ..

Answer / yogesh

Return Cursor Location (RTNCSRLOC)keyword in display file.

You must specify the cursor-record parameter and the cursor-
field
parameter. You can also specify the cursor-position
parameter.


The fields you specify for cursor-record and cursor-field
must be
unique, 10-character, hidden fields that are defined for
the record
format.



The field you specify for cursor-position must be a signed-
numeric,
4-character, hidden field that does not have decimal
places. The
field must be defined for the record
format.

Is This Answer Correct ?    2 Yes 0 No

how can i get the cursor position in display screen to to display my window? ..

Answer / sapthagiri .p

Usin the Key word RTNCSRLOC . but befor using this key word
in you ensure that you are creating an hidden field C#fld
and in your program If C#FLD = 'Desired field' call your
window .

Is This Answer Correct ?    1 Yes 0 No

how can i get the cursor position in display screen to to display my window? ..

Answer / xxxxx

with rtncurpos key word we can get cursor pos

Is This Answer Correct ?    3 Yes 3 No

how can i get the cursor position in display screen to to display my window? ..

Answer / bharathi

RTVCURPOS

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Write a CL program which will run a batch job at 1 am every night

0 Answers  


Can anybody please tell me what is difference between SQL (STRSQL ) and WRKQRY .....?

3 Answers  


can you explain the difference between spacea,spaceb,skipa and skipb. I'm new to learning about as400 and printer files. can any one give me an example using source code showing the difference that occurs between using these 4 keywords. A-Physical file PF004 source UNIQUE R RR STUNAM 10 ROLLNU 5 0 MARKS 3 0 SEX 6 K ROLLNU 4 records present in PF004 are STUNAM ROLLNU MARKS SEX KAVYA 12,344 55 FEMALE MADHAVAN 14,579 60 MALE RAMYA 14,785 70 FEMALE KRISHNAN 14,988 72 MALE B-Printer File PRINT1 source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEB(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEB(1) A 20'END OF REPORT' C-RPG/400 Program PRTTPG source FPF004 I F E DISK FPRINT1 O E PRINTER C WRITE HEADER C READ PF004 60 C *IN60 DOWEQ *OFF C WRITE DETAIL C READ PF004 60 C ENDDO C WRITE FOOTER C SETON LR D-spooled file result set Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 STUNAM ROLLNU MARKS SEX KAVYA 12344 055 FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys I have changed from SPACEB to SPACEA now in my printer file source E-Changed PRINT1 Source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEA(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEA(1) A 20'END OF REPORT' F-Spooled file Result Set after keyword change Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 KAVYAM 12344U 055KS FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys Overprinting not displayed.

0 Answers   Tieto,


can you display a empty subfile?

0 Answers   IBM,


when do you explicitly open files and close files in an rpg program?

1 Answers   IBM,


what are the different types of variables available in cl?

1 Answers   IBM,


write a pgm to read p.f using cl pgm?

2 Answers   Ocwen, SLK, TCS,


how can you specify no duplicate key?

0 Answers   IBM,


why is as/400 called object oriented machine?

1 Answers   IBM,


I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.

1 Answers  


which are the member types which seu supports?

0 Answers   IBM,


What is the purpose of 'CPYTOIMPF' command?

6 Answers   Aditya Birla, Redington,


Categories