• 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,375 pointsBadges:
  • Rpg-Procedures

    HI  I want to learn programing using procedures.Can you plz send me some site from where i can learn it? Plz send some short code examples too if possible.

    ITKBHARAT120 pointsBadges:
  • how to display blank rows in a subfile in rpgle

    i have a subfile with sflpag=sflsiz=10. say in PF total records are 25. when in load subfile in 3rd page i see only 5 records.But my requirement is to see 5 records from PF & 5 blank rows. I tried to do it using sflinz and sflrna.I used a indicator with sflinz.when writing SFLCTL i am switching INZ...

    Supriyoas400130 pointsBadges:
  • Navigation from one sheet to another in AS400(RPGLE)

     I have converted two physical files into one flat file.Afterthat I have converted that flat file to CSV file and got two physical files data in one excel file.        But I need to write first phsical files data in sheet1 and second physical file data in sheet2 in same excel file.Is there...

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

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

    GHENDER190 pointsBadges:
  • Access Oracle/Sybase/Informix from RPG

    Hi, I would like to access Oracle/Sybase/Informix directly from within an RPG program. This is something similar to ODBC but in reverse - my data source is external to the iSeries and my application and APIs, or called routines, internal in the iSeries. The access to the external database should:...

    JohnDavid5 pointsBadges:
  • Problem in positioning cursor in display file!

    I have a display file which have 3 fields A,B,C ..And these are input/output both fields. What i want is to position cursor on that field which have reverse image indicator on .(I am putting it on when that particular field has error)...Please suggest how to do ? I know RTNCSRLOC or CSRLOC will do...

    munduuu420 pointsBadges:
  • F9=Retrieve…

    I'm creating a DSPF and want to put in some common AS/400 command functions, and one of them would be to hit F9 to retrieve the last command entered. How would I go about doing this? I'm using a mock command line input field and would be sending any commands via QCMDEXC. Any ideas on the F9 feature?

    Eric Witham690 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?

    GHENDER190 pointsBadges:
  • RPGLE Procedure

    In Procedure what is the use of Prototype? What does it denotes?

    Vids295 pointsBadges:
  • How can we write an AS/400 subfile program without using any indicators?

    How can we write a subfile program without using any indicators(Even no indicators for SFLDSP, SFLDSPCTL)?

    Vgf5 pointsBadges:
  • physicalfile records updation in subfile

    i have created one subfile and records are also dsplayed ,but i want modify one record three times but i want second time modification record value ,so how to acess that record value?       please give me example program and subfile desion.

    RAMUas40030 pointsBadges:
  • Convert RPGLE to SQLRPGLE

    How do I convert RPGLE program to SQLRPGLE?

    Nutangujar895 pointsBadges:
  • RPGLE Getting around recursive calls

    With proceedures I read that recursive calls are allowed.  No time to get into proceedures. clp calls, pgm1. pgm1 add function displays scrn2, then calls pgm2, pgm2 calls pgm3, pgm3 calls pgm4. pgm1 update function calls pgm4. Issue is that pgm4 can call pgm1, pgm2, pgm3, pgm5, pgm6.  On the call...

    NickHutcheson11,380 pointsBadges:
  • RPGLE Embedded SQL Not null

    RPGLE Embedded SQL is getting a SQL0305 (SQLcid-305, sqlstate 22002) when fetching the next record from a view.  This is pointing to null values encountered.  /free                                                   exec...

    NickHutcheson11,380 pointsBadges:
  • DBF in AS/400 – last record written

    Hi , There is  file which has 6 fields and the first four as its key. Is there any way to figure out which is the last record written into it.   Thanks

    Atti123135 pointsBadges:
  • How to use API’s?

    I'm trying to use the regular expressions API's REGCOMP(), REGEXEC(), and REGFREE(). My text says handle them like a procedure, article seems missing info. Error examples are Prototyped call can't be used in an expression because it doesn't return a value, Types/Attributes of parm don't match the...

    Sfapa110 pointsBadges:
  • Default Font Name in AS/400

    Hi All,  Can Anyone tell me that which Font we use in As400, i mean default font nmae for As400. Thanks

    Rpgle400tech145 pointsBadges:
  • Move file on windows folder through FTP script in RPGLE

    I am trying to move a file from one folder to another on windows by writing a FTP script in RPGLE. But my file path is too long to come in one line in rpg source. Please can you let me know, how to continue the command in second line.

    AmberAS4005 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