• Using RPGLE Fixed Format keywords in Free Format

    Hi, How can we use the various keywords in rpgle free format such as sub file next change, key list, etc. It would be more appreciable if some link for reference document is given. Thanks, Vivek Sharma

    VivekSharma120 pointsBadges:
  • AS400 – RPGLE, convert character to numeric.

    Hi all...!         Here i give you the code. DNum_tmp           c              '18745678' I declared Num_tmp like this and i did some operations then i got  Res_tmp = '18745678' . Now the question is i want to convert this char value to decimal that is addtionable. is...

    Sureyz2,300 pointsBadges:
  • CPF5032 member already locked to this job

    I have a program written in RPGLE which calls numerous other programs. These programs all share similar files. In my main program, when trying to read a particular file, I get error CPF5032 even though I unlock the file right before I do the setll reade. As a result, I figured the lock must be...

    GHENDER175 pointsBadges:
  • Debugging an ILE RPG module within a program

    I have a program containing 3 modules. The module I need to debug is not displaying the source. How do I debug this module?

    Ile novice10 pointsBadges:
  • Non Subfile Field Not Changing When Doing an EXFMT

    This should be a simple thing to do but it is not working. I have an RPG program in which the user enters a warehouse code and presses enter. If the code is valid, it then populates a field in the record with the warehouse description. If the user changes the code to an invalid warehouse, I turn on...

    GHENDER175 pointsBadges:
  • Printing to a ZEBRA S4M from the iSeries

    I need to print simple labels - no bar codes, just different font sizes - from the iSeries (perferably from an RPG ILE program). Is anyone doing this without using some third party software? If so, how? Thanks for your help. JP

    Dasi4jpm85 pointsBadges:
  • How to read from a subfile and copy the data into a PF

    I have a subfile which is load-all.I have a function key (eg: F6).On pressing F6,i want data from subfile to be written into a PF.How to do this in RPGLE.Please give me a pseudocode if possible or steps.

    Supriyoas400130 pointsBadges:
  • RPG FREE Reference Book

    Currently, I am using RPG IV. However, I need to learn how to code in RPG Free. Can anyone tell me the names of some good books and/or tutorials which would help with this?

    GHENDER175 pointsBadges:
  • Help with AS/400 array

    hi evryone, i'm a beginner with Java and i try this: try{ AS400Array txtarr =new AS400Array(AS400PackedDecimal(55,0),100); parmList[0] = new ProgramParameter(txtarr.toBytes(new BigDecimal(0)),55); ProgramCall pgm = new ProgramCall(sistem,"/qsys.lib/xxx.lib/....pgm",parmList); in my RPG program i...

    BUG68225 pointsBadges:
  • List jobs in a job queue

    Is there an API that will return a list of jobs in a job queue?  I am particularly interested in a job queue that should have two scheduled jobs in it but might not.

    Vatchy1,410 pointsBadges:
  • SQLRPGLE Error in UPDATE Query

    Hello, I have a SQL Statement in SQLRPGLE which Updates a 3 fiels in a file with 30 fields. SQL Statement is as below. UPDATE TABLE1 SET TXDATE = :SYSDATE, TXTIME = :SYSTIME, SETFLAG = :w_Set, MSG = :w_ERR, Comment = ' ' WHERE ID = :W_ID This works fine on one iSeries server and throws...

    sim400305 pointsBadges:
  • Explain diiferent data types in AS400

    Hi, Can anyone please explain me different data types in AS400 What is the difference between Packed decimal and zoned decimal. Since in our project we have both .Net and AS400 technolgy. Some times .Net guys usually retrieve data from AS400 system into their tables that time they used to ask me...

    Mohan K695 pointsBadges:
  • Using CLOSE & OPEN commands IN RPG ILE program

    What is the best technique of using CLOSE & OPEN commands for USROPN DB files, if I need use CLOSE more then one time in program?

    Yuriy4425 pointsBadges:
  • Help with embedded SQL in RPG. Dang thing hates the delete statement?

     H OPTION(*NODEBUGIO:*SRCSTMT)                             *******************************************************  FWRLDSHP   IF   E             DISK                       FWRLDSHP1  O  A E           K...

    nitzinger385 pointsBadges:
  • Reorganizing AS/400 Files While Active

    I work for a company which is a 24/7 company. I cannot get them tp give up the system for any length of time. As a result, any type of maintenance is almost impossible. My biggest problem is reorganizing our files. I have heard that you can do a reorg while active but you must have journaling...

    GHENDER175 pointsBadges:
  • Calling RPG Proc from COBOL ILE

    How do I call a RPGILE procedure embedded in a service program from COBOL ILE? I am not very well versed in cobol as I worked mostly on RPG/400 and ILE. I checked few of the notes but was confused abt the 'Call Linkage type' and Call Procedure? Can anyone say when each one is used and what is their...

    RPGPGM40 pointsBadges:
  • DSPF How to use Moubtn with Pshbtnfld and pshbtnchc

    Hi, I have a DSPF with two format FMT01, FMTCM. In FMT01 I have defined MOUBTN(*ULP CF21) so when I push left button of the mouse on a specific field, *INKV(CF21) is activated and the program RPGILE do a call to a window.In FMTCM that is used as feet of the DSPF I have defined PSHBTNFLD with...

    Marzio35 pointsBadges:
  • Days of the week in AS/400 V5R4

    I know how to determine the day of the week a date falls on. However, I was wondering if there was an easy way to figure the following information: 02/01/10 was the 5th Monday of year 2010, 01/07/11 is the 1st Friday of 2011, etc.?

    GHENDER175 pointsBadges:
  • AS/400 – RPG ILE – Procedures

    Please provide sample program(s) to illustrate the procedures/subprocedures in RPGLE?

    sudheer794315 pointsBadges:
  • How to create menu using RPG program?

    how to create menu using rpg program

    1307845 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