1
  • RPG: Two PF have same field

    There are two PF, each PF have same named field, but the length of the field not same. How can I use the field in the program?

    Freefly ho15 pointsBadges:
  • Service Program Parameters Written Directly to PF

    I'm taking an old RPG program that does all the writing of records to a PF & converting it to a service program. This should reduce the processing of these records considerably (no more opening & closing the file for each record). I've created the service program & tested it, the only problem seems...

    Adamdowen65 pointsBadges:
  • Updating PF using simple RPG/400 code

    How can I update a PF using simple RPG code and please also explain with examples use of SETLL, CHAIN, SETGT, READC and SFNLXTCHG?

    6r1,590 pointsBadges:
  • File Size of a PF in AS/400

    How to determine the file size of a a PF in AS/400. Is there a specific CL command which tells us as to how many records a file can store? Or how much more records it can accomodate before its 100% full?

    Vijesh Bhat70 pointsBadges:
  • Display files in AS/400

    I am getting stated with RPG400.I have this requirement to add a new field in an existing screen and move this value to a new PF. This is when the screen is opened in create mode. the other screen where the new field is to be added is the update screen.In this screen value is to be retrieved from...

    AnonymousUser13,030 pointsBadges:
  • Logical file update during FTP

    When are the associated logical files updated when a physical file is receiving data via FTP?

    Chandlerbing81840 pointsBadges:
  • Special character in a PF

    Hi, Is there any way to know if a file has any carriage return on any of the records? I have a file which is populated bby front end users and sometimes when they copy paste an item it also picks up the carriage return. any way to find out if file is having any of these in iseries

    Rockleadme385 pointsBadges:
  • how to update pf using dspf through rpgle

    how to update pf using dspf through rpgle

    Soumen5 pointsBadges:
  • How to view online the new data added to a PF?

    Hi, I need to display in a subfile the new data added to a phisical file, in real time. Who knows unix, this is something like the command "tail -f". Thanks a lot!

    Mariodlg2,790 pointsBadges:
  • How to get the row count of a PF with RPG ILE?

    Hello, I'm looking for an example of how to get a row count of a PF from a ILE rpg program. Thanks everybody.

    Mariodlg2,790 pointsBadges:
  • AS/400: Unique records in file

    hi all, i have a problem , suppose i have a physical file which has multiple occurrences of fld1 , now i need to access that in distinct (one data single time) order. so i created a logical file with UNIQUE keyword . but when i make query on this LF then msg comes that no member found. and a dump...

    Ambrish 82310 pointsBadges:
  • reason for getting defaults value?

    i have a file p1 (pf) and one one display file d1 whose fields are taken as reference (using f10) from p1 when i write a simple rpgle pgm to write records from display file in to file p1(pf) using following code: fp1 uf a e disk fd1 cf e workstn c *in03 doweq *off c exfmt rec1 c write rec c end c...

    6r1,590 pointsBadges:
  • Create report in RPG for Jounaled PF

    Hi Is there quick way to generate report for the changed fields in a jounaled PF. I have a PF which has over 50 fields and need to produce a report if any field is changed or added new value.Thanks

    I5AS4005 pointsBadges:
  • how to Move one file(flat file or PF) which is created in a batch job, to the systems C: drive.

    how to Move one file(flat file or PF) which is created in a batch job, to the systems C: drive. sing CL

    It doubts85 pointsBadges:
  • Spool to PF

    Is there any way to conver a spool file in a formated physical file with out any codeing. Thanks

    PramodPatel15 pointsBadges:
  • serch for reference of PF/LF

    Is there any command to find out any perticular PF OR LF used in which RPG program across all libraries and SOURCE PHYSICAL FILES ????

    BU115 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following