• database file not being rebuilt

    I have a CLLE program which does the following: 1. clrpfm itmdata 2. call rpgle pgm A to rebuild itmdata file 3. clrpfm itmsrc (item search file) 4. call rpgle pgm B to rebuild itmsrc file using itmdata All of these programs are compiled to run in a specific activation group (call it A) My problem...

    Ilepro5 pointsBadges:
  • Creating XML from RPG data

    I am an RPG programmer and need to create XML files from our 400 data. I would love any DETAILED tips from anyone as I have no experience with this. Thank you in advance for your time!

    Ddiamondd15 pointsBadges:
  • Record Blocking Factor

    I have found several different equations to calculate the correct blocking factor when utilizing NBRRCDS in a CL to optimize I/O. One stated (128k)/(reclength), another (128k)/(reclength+1), another (1024*256)/(reclength) and still another (131072)/(reclength+1), with different variations in the...

    Dorkee4040 pointsBadges:
  • Convert Number to Fraction

    Anyone know an easy way in RPG to convert a decimal number to a fraction. For example I want take 1.75 and convert it to 1 3/4. Any suggestions would be appreciated. Thank, Tim

    tbrink0 pointsBadges:
  • Convert Number to Fraction

    Anyone know an easy way in RPG to convert a decimal number to a fraction. For example I want take 1.75 and convert it to 1 3/4. Any suggestions would be appreciated. Thank, Tim

    tbrink0 pointsBadges:
  • 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:

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.