• Splitting and merging large RPG source files

    What are the commands to split an RPG program so more lines can be added? Also, how to merge the 2 sources together again? My current source has 32,000 lines.

    etibbitts110 pointsBadges:
  • Listing RPG Indicators

    How do I list the indicators used in a RPG program, other than using a compilation listing?

    ITDavid180 pointsBadges:
  • Conflicting Procedure Encountered when running RPG program

    Over the weekend, a remote user received the following error when trying to run an RPG program: Conflicting Procedure Encountered. Could you point me in the direction of how to trouble shoot this? What could cause this type of error?

    KarenHodge20 pointsBadges:
  • Communicate with a RS232 device in my RPG program

    I need to retrieve the weight from a scale hooked to my PC with via RS232. I need to send the device a character(P) and which will trigger the scale to send back the weight. Thanks.

    10155 pointsBadges:
  • Changing authority to access /qntc files

    Hello. I have written an rpg/iv program that allows users to maintain certain network pc files from a green screen. it uses the /qntc file system to access those pc files. the problem I ran across is: unless the i5 userid and password is identical to the network userid and password, the program is...

    RickMe110 pointsBadges:
  • AS/400: ODP deleted using CLOSQLCSR=*ENDMOD

    Hi, I have created a module with CLOSQLCSR=*ENDMOD and I'm using a procedure in module from old RPG program which is using native I/O. Now when I use CLOSQLCSR=*ENDACTGPR, the OPD was getting reused but program is throwing error record locked as native I/O reads the same file in next step. Now to...

    munduuu435 pointsBadges:
  • Compiling RPG Programs when changing something in DDS?

    Hi! Why its needed to compile all the related RPG Programs when we change something in one record in a display file. For example I'm having a display file and within it there are many subfiles and single record formats, window screens. If I change edit something in one record format and compiled...

    Sureyz2,720 pointsBadges:
  • Running Program (RPG) outside AS/400

    Hi, Is there a way I can run my RPG program on AS/400 without using or calling it on green screen?

    vantupert5 pointsBadges:
  • Receiving error message while invoking RPG program through Java

    When I'm trying invoke RPG program using Java, I keep receiving this error message:**Application error. RNX9001 unmonitored by ZM30000R at statement N, instruction X'0000'.*Does anyone have an idea about what could be the reason for this error?

    ITKE409,490 pointsBadges:
  • Is it possible for a RPG program to call something external?

    More of a general question here but I was wondering if there's a way for a RPG program to call a web service? I would perfer if it was ASP.NET but I would be fine with a WinForm app too.I want to make an Internet service available to iSeries by creating a gateway. Thanks!

    ITKE409,490 pointsBadges:
  • AS/400: I’m trying to call a RPG program from PHP

    We're currently using an AS/400 system. I was asked by my boss to to look for a way to call RPG programs from PHP on our Apache server. The only solution I've come up with was installing Zend server to AS/400 and using the i5 PHP API Toolkit. Since I don't fully understand AS/400, I haven't tried...

    ITKE409,490 pointsBadges:
  • Should we use a RPG Simulator?

    We just got an urgent requirement to call a RPG program to Java. We are planning to use JTOpen but we don't have access to this system. Is there a way to test the Java program? Should we use a RPG simulator for Windows? Thanks!

    ITKE409,490 pointsBadges:
  • Decimal data error

    Hi all, I have a batch job which calls a CL program which internally have a call to another RPG program, after submission of the job I am getting decimal data where.... I'm adding the value of the Zoned decimal variable to Packed decimal variable. But when I run the RPG program individually there...

    Sai4AS4001,420 pointsBadges:
  • Level 20 Error

    I have created an RPG Program which reads data from one file and writes to another, based on some conditions with the help one Sub routine to write. Now when I try to compile the program, I am getting level 20 error because of which I am not able get the object. The error message is: " The source...

    Sai4AS4001,420 pointsBadges:
  • Altering keyfields inside RPG Program

    Hi all, I have a  Physical file PF with 5 different logical files (LF). PF don't have any keys at all. In RPG program I need to perform a CHAIN on this file with 2 key-fields in which 1 of the key is defined as key field in some LF's. But the other is not. Now I was asked to perform CHAIN without...

    Sai4AS4001,420 pointsBadges:
  • GMT timestamp

    I am creating an XML document using RPG and I need to output a timestamp in GMT format : YYYYMMDDThhmmssZ The date will need to end up looking like this: 20131003T210212.001Z. Can anyone tell me how to do that in an RPG program on the iSeries?  Thank you.

    DStaats25 pointsBadges:
  • Compiler options

    I need an example of compiling an RPG PROGRAM specifying PGMINFO(*pcml) and INFOSTMF

    COOPERL10 pointsBadges:
  • Submitted AS/400 job it’s not found with SBMJOB command

    I have submitted job using command SBMJOB in RPG Program though QCMDEXC. In DBG mode, I checked this command executed successfully but I didn't find job name in system. I used WRKSBMJOB command to see what are all the jobs submitted but I have found my job.sbmjob cmd (call pgm (xyz) parm (&a...

    Askt1140 pointsBadges:
  • Multiple submission of a JOB

    Hi every one, Requirement 1.a : I have a CL program (ISC) which reads/process 10 Million records from an input file IF with some conditions and writes to a Output file OF1 with the help a RPG program R1. Now my requirement is to improve the performance of this read process by running/submitting...

    Sai4AS4001,420 pointsBadges:
  • Printer file

    Hi members, While declaring a printer file in RPG program, we will specify either INFDS(DSPTR) or OFLIND(*IN99). Can any one clarify the purpose and circumstances under which we specify these..Thanks!

    Sai4AS4001,420 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