|
Hi Stiju, is this the same file you wanted to chain two days ago? You really should create a logical file with a key of your choice for this. According to the RPG Handbook i use (IBM Press release number SC09-2508-03 - or whatever that number means) you can set an INFDS for your input file with: ------------------------------------------- FMYFILE IF E DISK INFDS(DBFBK) DDBFBK DS D DB_RRN 397 400I 0 ------------------------------------------- You can find your actual RRN at position 397-400 in that DS. It should be updated after every file operation. Going to a specific rrn in the file is as easy as: 256 setll fileformat read fileformat or just: 284 chain fileformat Hope that helped. - Martin ------------------ Hi Friends, How can i chain a record ussing RRN no, I want to know how i could retrive RRN no of a pirticular Record, I didnt use this metord before, My problem is My ordinary chain fails even though it points to correct record (I verified by checking values in debug mode) I cant redesign the PF bcoz its created by SQL from some other application I need to carry on with it Plse guide me in running by RRN way. If any other idea is possible please suggest.
As an Amazon Associate we earn from qualifying purchases.
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.