AS400 Mid Range/Query

Advertisement


Question
Hi,
I have 1 DSPF & SFl.when i ll choose option'+' for one of the field on DSPF.i want to load dat sfl.Now on SFL after entering those values & pressing enter it should cum back to original screen wid all those values displayed in main DSPF.But complexity is i want all next fields shifted downwrds after displaying these values.(as done for any Command e.g. SAVOBJ).Could you please help me out for the same

Answer
For easiest use, each new entry would be added to the end of the subfile by incrementing the subfile relative record number. If you set the subfile record number to the same value, the system will automatically position to your newest entry. Otherwise, you would have to clear and reload the subfile after each entry, reposting the subfile records in the sequence you prefer.

- Laird

AS400 Mid Range

All Answers


Answers by Expert:


Ask Experts

Volunteer


Concise Systems/Laird Scranton

Expertise

General AS/400, RPG/400, SDA and CL programming questions. AS/400 performance tuning.

Experience


Past/Present clients
CB Sportswear
Coca-Cola of New York
Encore Paper Company
Golub Corporation
HBO Home Video
Imperial Pools
Kaiser Permanente of NE New York
Mallinckrodt Medical
Marigold Foods
Manpower & Associates
National Datacomputers
New York State Easter Seals Society
New York State Food Merchants Association
Pepsi-Cola Allied Bottlers
Petricca Construction
Taconic Telephone Corporation
TOMRA Recycling
Unistress Corporation

©2012 About.com, a part of The New York Times Company. All rights reserved.