• Why am I having such a problem copying a file.

    Trying to copy a smaller file 89 bytes and one field less file to a 96 byte file that has one more field. Trying Cpyf weblibl/wcur test01/wcur mbropt(*replace) fmtopt(*map *dr op) Get a return message of 29767 records copied but receiving file is empty. Where did they the records goto?

    nitzinger385 pointsBadges:
  • RPG400 Sample Program

    Hi, I am learning RPG/400 on my own. I am looking for a sample program which will be reading a database file and showing the records on a display file and update the records through display file. I would appreciate if anyone can provide me the same. Thanks & regrads, Rajsekhar

    Rajsekhar0 pointsBadges:
  • OVRDBF in JAVA

    I am trying to insert records to a member in a PF through JDBC. Tried with QCMDEXC in Java. But the member is not being overridden, inserting records in the First Member-always. What may bethe cause? Can any one suggest the possible solution for this?

    Cganeshh0 pointsBadges:
  • How do I download posted RPG Code to my own system?

    I'm new to this forum. I've found RPG code in the programmer tips area that I'd like to use on my system but can't figure out how to get it on my system other than typing it all in by hand! One topic had a clipboard function but I don't understand how to get it from the clipboard to the Qrpgsrc....

    Luvmypt0 pointsBadges:
  • Field exit keyword is not working

    Hi,      i am trying to use the keyword CHECK(FE) in display file field. But it is not happening. Below is the way how the field is declared:           CAMT  R        B  8 14REFFLD(CAMTW) 64                                  DSPATR(RI)   ...

    vipin2m55 pointsBadges:
  • To retrieve data from a remote system

    Hi, I have to retrieve data from a remote system (May be of any operating system) and shall put into AS/400. This process should be automated and there can't be any manual intervention. We can not use FTP commands here. Is there any other way this can be achieved. Can?t go for MQ Series either as...

    Helbert0 pointsBadges:
  • verify data file

    Hi everyone! I've a CL program that copies a spool file into a PF file. Is there any way to compare both files, in order to assure they have the same information? Thanx in advance :) Meli

    MelissaG20 pointsBadges:
  • Using SQLRPG on a DDM File

    Hi, I need to access a DDM file via SQLRPG -since SQL does not directly support DDM -can it be done by first using OVRDBF on the DDM file to override it to a local file and then use SQLRPG ? Help would be much appreciated for a project I am currently working on. Thank you! Ruwan

    Ruwan7770 pointsBadges:
  • AS/400 display file

    How to decide the position of Display file's constant variable dynamically. I wanted to decide the position in RPGLE program.

    rajeshece1,215 pointsBadges:
  • How to operating with Multiple Member PF in RPG ?

    I have a multiple member physical file and I want to operate(read/update/delete) with specific member in RPG. The member name for that PF need to be set at runtime depending upon from which program this rpg program is called. I am writing the sample code that I was trying, but it ends up with...

    Inlog10 pointsBadges:
  • rpg

    We just upgraded to an iSeries box with 5.3. We were running 4.6. My RPG programs function properly until I recompile the program. Then I get an compile error 7073 regarding the length of a key field not equal. The compile shows BIN2 (and sometimes multiples) after the other key fields and I can't...

    Kahenry0 pointsBadges:
  • Debugging RPGLE Program

    I have compiled the RPGLE source with DBGVIEW Option as *STMT. How to debug this program?

    rajeshece1,215 pointsBadges:
  • how to access any particular menber of any pf

    Hi, if i have a pf having 5 members..how can i access 3rd member of it through in rpgile.. regards Ambrish

    Ambrish 82310 pointsBadges:
  • CGI loses percent sign

    We have a web app ( a CGI) written in RPGLE and HTML that prompts for several data fields and writes a record to our web iseries. When the Comments field contains a percent sign ("%"), the data file ends up without that symbol and the next character is gone, too. Is there a simple way to fix this ?...

    aceofdelts1,950 pointsBadges:
  • Retrieve the RPGLE program from object

    Hi all, I accidently deleted my program. Is there any way to retrive the program from its object.

    vipin2m55 pointsBadges:
  • Having trouble with DB2/400 UDF returning a table.

    I've written a test RPGLE program (not a service program) to return a table that for testing puposes I'm returning 1 row and 1 hard coded return column that is defined as varchar. I'm building the return value by concatonating the input parameters. Anyhow I tried running it using interactive SQL. I...

    Dwk0015 pointsBadges:
  • Convert number to roman numerals in RPG

    Hi, Can any know how to convert numbers to roman numerals in RPG or RPGLE?

    Babs30 pointsBadges:
  • printer file in rpgle

    I've program described printer file.. how to code page break for program described printer file??

    Nutangujar895 pointsBadges:
  • secure socket written in RPGLE

    I am having a sporadic  issues with a secure socket program written in RPGLE.  The program is ending before a response is recieved from the reqeusted server.   

    BKZ5 pointsBadges:
  • RPGLE. cpytopcd

    I have tried to create a file where every record is 80 characters long. Every record should be filled with spaces if the record is shorter than 80 char. In my program I use cpytopcd and this command seems to cut every record if there aren't any more characters. If you look at it in hexadec...

    Kasten15 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