• ILE sub-procedure does not return data from a ReadE operation

    Sub-procedure is directly bound to pgm and has f-spec to read a file based on incoming keys. Handles the keys correctly and sets conditions based on found/not found in the file but the input buffer never loads into the field names for the file. Object is to return entire found record as a...

    AskDave0 pointsBadges:
  • Adding color in SEU Editor

    Does anyone know how to add color to a comment line within the SEU Editor? For instance, blue or red other than the typical green screen. Thanks.

    Cobra690 pointsBadges:
  • Prototyped Exported Procedure: Retrieve and Send a Record Back as a Data Structure Parameter

    I want to define a prototyped procedure that chains out to and returns data back from a record in a file. I don't want the calling program to reference the file in any manner (thereby encapsulating it from the file). Essentially, I wan't a standard Java "get". I've got two source elements. One, I...

    MadDogDing0 pointsBadges:
  • Webenabling of green screens

    I am trying to web enbale a sample green screen using Webfacing & WDSc. I have a written a CL program that just SNDRCVF the screen record format which consists of a sample text to display. It works fine when I call the CL program from the command prompt. I have converted this screen using Webfacing...

    Sbkhole0 pointsBadges:
  • RPGLE record count

    Is there a way in RPGLE to determine if a file has 2 or more records with the same key without actually reading the records? I know we could use embedded SQL to count the number of records, but I don't think that would be very efficient in this case. Thanks for any help.

    Stepheno0 pointsBadges:
  • Restoring Source Files on the iSeries

    We are moving to a new i5/iSeries machine. We will be doing a full backup, then a restore, then a SAVCHGOBJ. However, in the past, when we've done a restore of a source file, the existing members get renamed (SRCMBR00001) and the members from the restore get put in correctly. Does anybody know the...

    SteveCWI0 pointsBadges:
  • Subfile Control Text

    I process a selection from my subfile that requires a new screen to be displayed. When the new screen is exited, the TEXT from the subfile control portion of the previous screen disappears. The values in the defined fields on that screen appears fine. Just the text is gone... Is there a keyword or...

    14mesavista0 pointsBadges:
  • 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:

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.