• Automatic email notifications from iSeries

    Nagi needs to write a code on his iSeries 870 to send a notifications to his e-mail, such as server rebooting, jobs not started or need reply, etc. He's a Windows guy, and doesn't know where to start. Can someone help him with the code and possibly send him steps on how to write it and where and...

    MichelleDavidson515 pointsBadges:
  • Using XML-into in RPG getting error

    Hello.. I am having an issue using xml-into when my xml has only an ending tag. I am receiving error "XML document does not match RPG variable". The vendor sending the xml file to me states it is still valid xml and should not cause error. How can I get around this error using xml-into. My xml...

    clauinger15 pointsBadges:
  • Free websites to access AS/400

    Hi, can anyone can tell me the free sites to access AS/400, where we can do the actual RPG coding?

    Sabarish60 pointsBadges:
  • Display two subfiles on same page in RPG

    How can I display two subfiles on same pages in RPG programming with sample program to display the screens at the same time?

    junekotey20 pointsBadges:
  • Cursor not open in joblog

    I have a SQLRPGLE program, where I'm performing few activities using cursor. When I view the joblog after the program is called, I see "Cursor not open" message. I understand the reason for this message. But, my doubt is, when I debug the program, I could also see other messages like "row not found...

    sri8707240 pointsBadges:
  • Compare file in RPG AS/400

    How to check if the file a contents are inside file b? File contains table q,w,e,r,t,y.file b contains q and w. I want to check whether q and w contents are same in file a and file b. If not, I want to display an error message.("FILE B IS NOT UPDATED")

    sampathrsk20 pointsBadges:
  • Compile a RPG36 source member

    I'm looking for ideas on what else to try. We stopped changing the programs still running in the System 36 environment. We're finally eliminating that, but a few program mods would be useful during conversion. Of course, the method I remember for compiling fails now. The old method was to do OVRDBF...

    aceofdelts2,510 pointsBadges:
  • Decimal data error for blanks in zoned values

    I have a Zoned decimal field where blanks are accumulated and hence job is throwing decimal data error. Can you please tell me decimal data error occurs because of the blanks in zoned decimal field?

    vishwaraj60 pointsBadges:
  • Program works in debug but not run time

    I have an RPGLE program that works when run in debug mode but will not update the file when run outside of debug. I have looked at the obvious, such as library list to ensure using same versions of programs. At a loss......

    Weklis0 pointsBadges:
  • How to receive data in XML format from mainframe in to AS/400 using webservice (SOAP) for below fields:-Field Name length Data Type

    Hi, How can I write RPG program which should fetch data from mainframe system for a file which has 4 fields let's say A,B,C & D with below length and data types:-Field Name length Data Type A 7 NUMERIC B 2 NUMERIC C 5 NUMERIC D 5 CHARACTER Main intention is to fetch data from mainframe in to...

    6r2,155 pointsBadges:
  • Move all fields in a record format at once.

    How can I move all the fields of a single record format at once? I need to move fields totalling 712 positions to a single flat-file record that is also 712 positions long. I really don't want to move one-field-at-a-time into a data structure if I can help it.

    Mahler215 pointsBadges:
  • Unable to use 9 digit field in RPG

    I am using one PF file in RPG program, The file field is 9 digit. I can't able to use the field in RPG program. Any suggestion?

    Santhzh1240 pointsBadges:
  • AS/400: How to handle errors in RPG or RPGLE

    How to handle errors in RPG/RPGLE? How to handle calculation errors example array bound errors or division or hexadecimal errors?

    vivekntt21450 pointsBadges:
  • RPG SQL Nomain Module with DSPF

    I have Cycle Program with embedded SQL that updates table using display file. What do I have to do to create a module, so it will be compiled to *PGM object?

    FlashSmile5 pointsBadges:
  • Help needed in RPG extension specification

    Hi all, Unfortunately I have to understand old days code written in RPG2. That code also use Extension specifications which I never used before (as I am programming in ILE). I have searched on net it only refers me to a book written in 79 which contains dull E-specs maps which I don't understand....

    hunshabbir72,900 pointsBadges:
  • Trigger program lock.

    When a trigger program is locked because the physical file is locked, how can we promote a program through MKS when it is locked. We have over 40 warehouses with a copy of the same file so getting everyone out of the individual files would be a chore. Can we use a CL for the trigger program or is...

    UARTJ195 pointsBadges:
  • Embedded SQL in RPG ILE

    I want to write a program that will retrieve any field(s)from any file on the iSeries. The only part I haven't figured out is how to code the fetch statement to populate variables that aren't known until execution time

    Jeffm135 pointsBadges:
  • System Date in COBOL/400

    How to get the system date in the format of CCYYMMDD(*ISO) or MMDDCCYY(*USA) same like RPG/400? Can anyone please help?

  • What is field reference file in RPG ILE

    Hi all, I'm working on RPG ILE. Please tell me what is field reference file, what is use of it, please give any example. Thanks, Ambrish

    Ambrish 82310 pointsBadges:
  • CHECK vs SCAN

    can anyone explain me when to use CHECK and SCAN and differentiate between them? Please provide examples too...thanks

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

Thanks! We'll email you when relevant content is added and updated.

Following