• Whats an RFC

    I'm an RPG programmer. I have a new business partner in another country that wants me to send an RFC to their Windows based SAP application in real time. I'm handy enough with FTP but have no clue as to how to send this RFC (remote function call) to a windows based SAP application. Ive checked the...

    Oldgrayprogrammer0 pointsBadges:
  • QUSRSPLA / QSPCRTSP API problem Release 5.1 to 5.3

    We have an in-house program that is job logging. This program copies one spool file to another as part of our outq monitor / fax / email distibution process. It calls the QUSRSPLA API to get the spool file attributes and then calls the QSPCRTSP API to duplicate the spool file. It blows up and the...

    Dantheband0 pointsBadges:
  • EPSON commands in rlu

    How to use EPSON programming commands in RLU source. I am trying to print my spooled file using an epson LQ-300+ printer.

    Makoy050 pointsBadges:
  • Attempting to write a duplicate record on a subfile using RPGIV.

    I have created a subfile that contains up to 10 records. If the user puts a D beside one or more records, I bring up a second control record and subfile. I window a ?are you sure message?. If the user chooses yes or no, I still want to go back and read the 1st subfile for anymore D?s. Then pull up...

    Volunteer0 pointsBadges:
  • Apache or CGI or RPG or FORM

    We recently updraded to v5r3 on our i5 and installed our new Apache server. We had web-apps running in RPG/CGI for months before the upgrade. The code hadn't changed, yet after the upgrade, the web-apps started to not work as designed or would not do anything when a form-button was clicked or...

    Dorkee4040 pointsBadges:
  • Hi Everybody … this is my first attempt to use this resource. I think I have a good question and would welcome advice.

    Language: AS400/RPGLE (RPG IV) Area: Data Structures over a physical file I have created some work data structures to store field data in during a work-in-process user session. I want to: 1) CHAIN to a specific record in a physical file 2) Move data from the record to the working data structure...

    MariusM0 pointsBadges:
  • Multiple result sets returned from embedded SQL in RPG

    I am trying to follow various examples (examples from Iseries Network and IBM manuals) for declaring a cursor and fetching records. I have no problem with simple statements. I am having trouble converting a statement containing a subquery. The more I look at different examples, the more trouble I...

    Qpgmrs0 pointsBadges:
  • CL example of QMHRDQM

    I would like to read the DTAQ without loosing data, in this regard I found the API QMHRDQM. Can anyone share an example of the API. Awaiting your favourable reply.

    Sbkhole0 pointsBadges:
  • moving a field in RPG from a PF to a screen

    I have a field in a Physical file, MILLPR defined as 9P 9 I am trying to move it to a display file, SCMILLPR defined as 66.666 In RPG, if I multiple the MILLPR field by 100, I can successfully make the move if the field contains .250000000, .500000000, .750000000 However, if the MILLPR field...

    Volunteer0 pointsBadges:
  • *PSSR is not executed

    The exception error handler routine (*pssr) is not executed, instead the program abends when it encounters say for example record locked by other user.

    Ferddie0 pointsBadges:
  • subfile clear

    Why would records still be displayed on a subfile even though the proper code is executed to clear it?

    Stingfan0 pointsBadges:
  • PRTF design using RLU

    Does anyone have any idea whether we can design a PRTF (using RLU) whereby there are different CPI in the same 1 report? Example: Title line 10CPI, detail portion 15 CPI so on.... Thanks.

    JennyChin0 pointsBadges:
  • *DATE incorrect

    We have Visual basic applications that access the AS/400 through QSERVER. When these VB programs execute RPGLE programs, the *DATE reserved word picks up the date QSERVER was started and not the current date. This is a recent occurrance and has functioned properly for 4 or so years. Any suggestions...

    RickatEaton0 pointsBadges:

    Is it possible in a printer file to have the duplex feature on using a front overlay and a back overlay, but use the FORCE keyword to have it print on two pages - not front and back? I know that the back overlay only works when duplexing is on. Anyone up for a challenge. Thanks.

    cmarsellus50 pointsBadges:
  • F4 to open Selection List Window

    When the user presses F4 in a field for a list of values to select from, I open a Selection List Window. When I return from the window with the selected value for my prompted field all of the data entered into the other fields is gone. Because the display format is not read before the prompt is...

    Hex29a0 pointsBadges:
  • SAVOBJ with different OS release on target

    I am trying to FTP a file between two as400 boxes, for which I have to use SAVOBJ on the source and RSTOBJ on the target. Now the source has a higher OS release than the target, so I can use the release version of target system in the "target release" option of the SAVOBJ. But SAVOBJ does not...

    Rituraj0 pointsBadges:
  • Upload and format CSV file to AS400.

    I have a program that simply reads an uploaded CSV Excel file (CUPOBL), formats the fields and writes to a physical file on the AS400. The program currently writes the desired 20 records (disregards record 1), but does not populate with data. I can email a copy of the csv and a text file of the...

    Mitch812620 pointsBadges:
  • Printing UCC EAN 128 from RPG on AS/400

    Hello I am trying to Print Bar Code 128 with FNC1 (Which identifies symbology as "UCC/EAN - 128"). I am able to print simple bar code 128 but not able to add this symbology. I am using the BARCODE keyword. Is it possible to print a UCC/EAN 128 using this keyword? If yes, How will I use it? I am...

    UCCEAN128barcode0 pointsBadges:
  • controlling display files built with dds when windowed selection list is overlaid file format

    When I display a windowed selection list over the current display file format, data from FIRST INSTANCE of this file format is returned to the background(behind the selection list). When I exit the selection list, current format is redisplayed with current data. Window is diplayed from a called...

    Rigger0 pointsBadges:
  • Using keyword IN in Dynamic SQL WHERE clause

    In an RPGLE program I am using embedded SQL. I would like a Where clause that says: WHERE BankCode in (:BankList) and I want BankList to be a dynamic list of banks selected by the user. BankCode is defined as 4,0 decimal and BankList is defined as Character since it may have several banks (1000,...

    naturegal0 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.