I would second Eric's link to scottklement.com's ebook and elsewhere on the
site is a download of a library of working code.
It's old - the save file from v4r5 - but it all works.
Your own display file/RPGLE can use these tools for reading and writing ifs
files.
Depending upon your data, and how you want to select & view, you can
separate the display from the reading.

If you are familiar with a lot of the IFS stuff, then chapter 4 & 5.

Jim



-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of
Eric Hill via RPG400-L
Sent: Monday, December 02, 2019 1:10 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: Eric Hill <ehill@xxxxxxxxxxxxx>
Subject: RE: How to display data of an IFS file using rpgle program

Try this link for a complete how to:

https://www.scottklement.com/rpg/ifs_ebook/


Eric Hill
Senior Software Developer
Integrated Corporate Solutions


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of
kuldeep yadav
Sent: Monday, December 02, 2019 12:05 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: How to display data of an IFS file using rpgle program

Hi All,

This is regarding a program I am writing where in I am using RPGLE program
to interact with IFS files.

I want to give users a way to see data received in IFS files from my 5250
display screen, when he selects "SHOW DATA" option.


Its already working if I implement WRKLNK command in rpgle program. However
the problem is WRKLNK is it takes you to the directory level first then one
has to select OPT 5 = DISPLAY to see the data of IFS file.

Here I am looking for a way so that I can directly display the data screen
of IFS file instead of WRKLNK directory screen.

Any thoughts suggestion will be much appreciated.


Thank you in advance !

Regards,
Kuldeep.



Get Outlook for Android<https://aka.ms/ghei36>
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.