• Reading only the active records in a flat file

    I have a physical flat file which has thousands of deleted records. (I can't get exclusive use of the system to do a reorg) I am doing a sequential read of the file because the file only has a few active records. However, it is taking the program awhile to finish and I'm guessing it is because the...

    GHENDER175 pointsBadges:
  • Can I Declare a variable-length Array?

    Is it possible to Declare a variable-length Array viz.. like we have in "VARLEN" in DDS?

    svankipu560 pointsBadges:
  • Are there any Synon experts out there? (20 plus years)

    Experienced, 20 years plus, synon developers have probably forgotten more about synon than the new generation (yes there are young people learning synon) will ever know.   Does any of those experts remember the phantom + sign on subfile displays when there were no more records to display?  If so,...

    Trbeesley140 pointsBadges:
  • Non Subfile Field Not Changing When Doing an EXFMT

    This should be a simple thing to do but it is not working. I have an RPG program in which the user enters a warehouse code and presses enter. If the code is valid, it then populates a field in the record with the warehouse description. If the user changes the code to an invalid warehouse, I turn on...

    GHENDER175 pointsBadges:
  • Duplicate object (PF) using SQL with same attributes

    I want to create a duplicate object using SQL. I don't want to use CRTDUPOBJ and also do not want to compile my rpg's pgm because of new file level identifier. Please advice

    Anwer5 pointsBadges:
  • RPG/400 array

    Hi, This is verry good website for learners and realtime questioners and others.I recieved this web site name from one of my friend. I am facing real senario from it guies where i am working.Please give me your experienced answers for my clarify questions. !.What is the difference between  array...

    Iseries710 pointsBadges:
  • RPG FREE Reference Book

    Currently, I am using RPG IV. However, I need to learn how to code in RPG Free. Can anyone tell me the names of some good books and/or tutorials which would help with this?

    GHENDER175 pointsBadges:
  • Read & Write Flat file

    I want to read & write same flat file(CSV).For eg.If I have flat file structure in this way 1'PL','ABC'  2 'PL','DEF'  3'PP','BGC' In this I am reading only PL type of records.If it is PL type like 'ABC'then i am doing some processing & writing 'PL','RIC' record in to the same.After writing the...

    Rr22100 pointsBadges:
  • Passing parameters thru LDA

    Hi i want to know how the parameters can be passed from one RPG program to another RPG program using LDA.Please give me an example code. thanks Ram

    ten20081,150 pointsBadges:
  • Building the Key in RPG/400 itself

    Can we able to build key for externally described file in RPG/400 itself to retrieve records on this Key?. IF we can Pls.......give sample code.

    Alicsc370 pointsBadges:
  • Autorefresh in RPG

    Once the display file is displyed, the control should be come back to the program after specified time and do the refresh of the screen. Can you please suggest some of the good methods and some examples for DFRWRT in DDS.

    frmdeva365 pointsBadges:
  • Batch job and interactive jobs in RPG/400

    In RPG, when do we need to do batch job debugging and when do we need to do interactive debugging? Can someone help me please? I'm a newbie.

    NEON40 pointsBadges:
  • File and Fields in RPG400

    I have a file that contains the file and its' respective field. In my RPG, I want to read the file as retreive from the database. And use the fields from the file for testing. For example: F Specs FILEAAA My database contains: Filename : FILEAAAA Field Name : FIELD1 Value = 30 In RPG, I want to...

    JoBi85 pointsBadges:
  • packed & zoned both are used for numeric data types in rpg but if packed occupies 1 byte and zoned occupied 2 bytes then why don’t we use packed?

    packed & zoned both are used for numeric data types in rpg/400 but if packed occupies 1 byte and zoned occupies 2 bytes then why don't we use packed always considering system storage capacity?

    6r1,485 pointsBadges:
  • READC is activating even when no records in subfile have been changed?

    READC is activating even when no records in subfile have been changed?

    Usf210020 pointsBadges:
  • Days of the week in AS/400 V5R4

    I know how to determine the day of the week a date falls on. However, I was wondering if there was an easy way to figure the following information: 02/01/10 was the 5th Monday of year 2010, 01/07/11 is the 1st Friday of 2011, etc.?

    GHENDER175 pointsBadges:
  • Times spanning midnight in RPG/400 concatenation

    I have successfully converted time field to date/time. Now I need to find the total minutes between one field and another but cannot get it to show me any value. I am using DateDiff ('n',{@startdatetune}, {@startdatetime}) where n indicates minutes. I should be able to use any field where I have...

    UVADebbie5 pointsBadges:
  • How can I use RPG/400 to write Heapsort or other sort methods

    Just as the title, I get a big headache with the heapsort problem with PRG, can anyone help by sending an example to me: that is my e-mail:k300021@yahoo.com.tw thanks a lot~

    K3000215 pointsBadges:
  • How can I find out my System IP Address through CL/RPG?

    I would like to know my system IP-Adress , to validation with User name and IP-Address.

    Chrisjam95 pointsBadges:
  • How to create menu using RPG program?

    how to create menu using rpg program

    1307845 pointsBadges:

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