• 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:
  • 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:
  • 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:
  • 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:
  • 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...

    UARTJ175 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:
  • Setting lower limits In CL

    I know how to declare a file and read through the data in CL....but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend...etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne '0' DO Goto Loop: Enddo. Now I want to read through...

    RonKoontz1,810 pointsBadges:
  • SetON LR and Return

    What is the difference between Seton LR And Return

    PrateekChowdhri10 pointsBadges:
  • Calling RPG program without Parameters

    1) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' accepts 3 parameters. But i need to call PGM 'B' without passing parameters. How to achieve this??? 2) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' doesnot accept parameters. But i need to call PGM 'B' with...

    0 pointsBadges:
  • Convert RPG II program to RPG IV

    How can I convert RPG II program to RPG IV program?

    wimeugster25 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