• 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,380 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?

    ITKE344,995 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!

    ITKE344,995 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...

    ITKE344,995 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!

    ITKE344,995 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:
  • Pass parameter RPG/400

    Hi, is there any solution to pass numeric parameter to the RPG program from the command line?

    I6195 pointsBadges:
  • Read the same file twice in a loop

    I have a scenario like this. FileA has a keyfield MVDT(8A - it has a character field which has date in yyyymmdd). I have an RPG program which accepts start date as parameter. I do a SETLL with the start date and reading the file till eof. Inside the loop, am reading another file which has another...

    RamvishakRamesh2,505 pointsBadges:
  • Read records without declaring file in F-spec

    Is it possible to read records without declaring file in F-spec?

    shyedajmal285 pointsBadges:
  • Moving SQL into RPG programs at DW

    We are using a huge number of SQL on our production machine. We have our back up machine equal to the production machine where its located our data warehouse based on RPG. Can you help me with arguments to defense that all SQL should be moved into RPG programs at our DW?

    userjp5 pointsBadges:
  • Calculate Distance between cities using latitude and longitude

    We currently have a program that returns a locations latitude and longitude. Searching the web I've located an RPG program that calculates the distance between 2 locations however it gives me the miles using a straight line. When I search Google maps it shows me the distance in miles using the...

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

Following