• RPG/400 CHAIN opcode

    Hi,anybody tell me how to find the end of file situation while reading through the CHAIN opcode on a file in RPG/400 and in RPGLE. I think RPGLE we have %found built in function.thanks

    ten20081,150 pointsBadges:
  • SQL or RPG

    Would it be better to use SQL or RPG, to update one field in the file with a value from another field in the same file? I am not that familiar with SQL, only a beginner. My RPG skills are rusty as I've not written anything in the last 4 years.

    Adeaver20 pointsBadges:
  • How to use XML in RPG

    Hi All, I want to know if its possible to FTP a file from RPG to any other systems using XML. More precisely, can we use XML to pull the data from RPG and feed it to other systems. If yes, appreciate if you can give some inputs or notes where I can find the complete process or code. Thanks.

    RPGPGM40 pointsBadges:
  • Logical Relationship in Input Specs in RPG

    Hi, We can use operators AND/OR (in position 16:18) to specify logical relationship for Record Identification codes of an input record. I understood in what cases we use AND operator, but I couldn't understand in what cases one can use OR operator. I would be highly thankful if someone can help me...

    Shrutigupta165 pointsBadges:
  • Make RPG ILE programs look better

    How can i use my as400 programming screen look better using different colours for my comments.

    Narasimha1255 pointsBadges:
  • CPW source code

    I would like to simulate a CPW benchmark. Is there source code (preferrably on RPG) available and how can I obtain it? Or is it just IBM private property?

    ThomasSykora15 pointsBadges:
  • Program calls on AS/400

    How i can check that my previous call to a program from other program was successful. Only after successful call and run only i can call another program. How to do check this in RPG and CL?

    ten20081,150 pointsBadges:
  • Synon/Cool:2E – internal/external func performance question

    I have a situation where I have to call a synon function multiple times (for each record in a file one after another) from another synon function. The called function does some calculatons. Will there be any performance improvement if I make the called func an internal function and have an external...

    Rituraj0 pointsBadges:
  • SQL in RPG (Error when TESTING (i.e. running under ISDB) RPG program which builds SQL statement and then uses PREPARE,DECLARE,OPEN,FETCH,CLOSE)

    Under ISDB, JOBLOG showed' Internal Error 1001 has occurred SQLCOD -901' SQLCOD was ‘-901’ (i.e. minus 901) which according to manual ’SQL Programming’ is associated with Message SQL0901 – ‘SQL System Error’ SQLERP was ‘QSQROUTE’ - According to Manual ‘DB2 Universal Database for...

    TonyC15 pointsBadges:
  • RPGLE %CHAR strips off leading zeros

    Chan we stop %CHAR from removing the leading zeros?

    Coder10 pointsBadges:
  • RPG Program works fine in debug (ISDB)

    I am coding a program in RPG/400 on OS v5r4. The program uses input files to calculate several program described fields for a report. The program does not calc correctly when I call it from the command line. The program works as expected when I run it through debug (ISDB). I am using the same sign...

    Flydragon15 pointsBadges:
  • Check for file lock on the IFS in RPG

    I need a way to check to see if a text file is locked on the IFS in an RPG program. I am running the following command in the rpg program: ReturnInt = Open(%Trim(EntryPath):O_RDONLY+O_SHARE_NONE);. When I do this for an excel file the returnint comes back with a -1 if the file is locked. However if...

    Marvmart25 pointsBadges:
  • RPG sub-procedures

    What have you found to be an over-riding reason to use a sub-procedure in an RPG program instead of a sub-routine?

    LBurkett99830 pointsBadges:
  • OVRDBF Not working as supposed to

    Here's the program flow CL1 calls RPG1 RPG1 calls CL2 CL2 has OVRDBF on fileA that is being used in RPG1 When the control gies back to RPG1, the file is not overriden. So I thought it might have ended at call level and I tried to do OVRDBF in RPG1 after the control come back from CL2 but still no...

    Jahan50 pointsBadges:
  • AS/400 to Java migration

    Hello, could someone suggest me an appropriate tool for AS/400 to Java migration? also, I am more interested if that is a product and not a service.

    Suc10 pointsBadges:
  • RPGIII to RPGILE Conversion

    Someone out there must hae done this conversion. We are planning on doing this conversion to ILE sometime and would like to know some of the issues. We are planning on using the IBM conversion tool, which I believe can do most of the programs, leaving only a few to "hand" code. What we are more...

    tjgm88995 pointsBadges:
  • ReadE opcode

    Hi can u pl tell me how to use READE opcode without having factor1 field..thanks

    ten20081,150 pointsBadges:
  • I/O device error in AS/400 program

    what is I/O device error in AS/400 programs and when it occurs ? pls clarify....thanks

    ten20081,150 pointsBadges:
  • How to retrieve the current version of AS400 you are working on?

    Hi, Does anyone know how to retrieve the current version, release and model number of the AS400 box you are working on. We can view this information in spool files, but I want to retrieve this information through both CL and RPG program. Regards Shruti.

    Shrutigupta165 pointsBadges:
  • No Source Showing

    When I compile my RPGLE source I do it with the *source for dubugging. I just noticed this was happening. Now when I try to do a display object descrition i do not get where the source was compiled from. ANy Ideas why? I need this ASAP. Thanks Source file . . . . . . . . . . . . : Library . . . . ....

    RonKoontz1,780 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