• Subfile code for AS/400

    In Subfile, OPT   ShipQuantity   QuantityToShip   Item#   CustomerOrder#        ___     ____________   100                  ABC1     CO100010                 ___     ____________   10                    WQE1   ...

    22917510 pointsBadges:
  • CHAIN(E)

    what is chain(e) please explane with example

    It doubts85 pointsBadges:
  • useropen

    Hi, What is the purpose of USROPN keyword?

    As400venkat20 pointsBadges:
  • AS/400: RPG IV

    Hi, I stuck in following scenario. I have 2 files FILEA in lib LIBA and FILEB in LIBB and have to use both the files in RPG program.   Please assist me on this.    

    Samule400160 pointsBadges:
  • Embedded SQL in rpg for subfile build SQLCOD

    My fetch next in sql is getting sqlcod = -000000181 and sqlstt = '22007'.  I looked this up.  It says invalid date or time. Pointing to date data types in the file I am trying to read. The records contain two date fields and two time fields. How can I get around this?   Thanks in advance. Nick

    NickHutcheson11,380 pointsBadges:
  • Free format subdur minutes from a time

    I am trying to search for the correct syntax for subtracting a minute from a time. I have a 6 numeric time field in HHMMSS format.  I am trying to use free format to subtract a minute.  Having trouble. Using: @atime=%dec((%time(@atime:*hms)- 1 *min)...

    VictoriaS15 pointsBadges:
  • RTVSRC: Finding the RPG38 source

    I know this is very old question but I can not find tool on internet. I have one rpg38 program compiled on V1R7. The program compiled form QRPGSRC/LIBTEST but looks like LIBTEST was deleted. Now how can I find the this RPG38 source. Thanks, Ali

    Alicsc370 pointsBadges:
  • ALDON

    Hi, I would like to know...Is it possible to checkout the same object by 2 developers?? If yes then............. How ALDON maintains Multiple Checkouts of the same object???? Thanks, Rama Krishna

    0 pointsBadges:
  • OS/400 command line

    Is there a way not to display the OS400 command line when working with output queue? Our Internal auditor came up with recommendation to omit the OS/400 comman line while working with an output queue since access to it will result to security exposure.

    GodIsGreat5 pointsBadges:
  • RPG Net pgm with dataq

    Hi. I need some help with net pgm. This is my stuff: 1- ADDPJE SBSD(LIBINO/INOSBS) PGM(LIBINO/TST44R) 2- TST44R read a InoDtaq 3- In WrkActJob I can view the INOSBS with TST44R 3 times (default) 4- I have a pgm TST43R that write a LIBINO/INODTAQ. I run it. 5- I run TST44R and in WorkActJob its...

    INOSOFT15 pointsBadges:
  • Data queues in RPG

    Has somebody used a data queue in a RPG program.If so, what is the advantage of using a data queue. Can I have an example.

    A1b2c3330 pointsBadges:
  • CPF8361 Error after V6R1 Upgrade

    After upgrading from V5R4 to V6R1 we have begun to encounter CPF8361 errors related to Committment Control running embeded SQL.    Transactions get hung up in RDB and then processes get stuck.   Is this specifically related to the upgrade and is there a simple process to correct the issue. 

    Shadow4412265 pointsBadges:
  • Create a calender using RPG

    my requirement is to create a calender using rpg.first it show the present date calender,after user select month,year.then it show that month calender.please give example code

    madhuchowdary350 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:
  • AS400 – RPG

    What is the difference between *NAMVAR and *DTAARA in RPG Programming

    rajeshece1,215 pointsBadges:
  • SQL in CLP

    Hi, I have to create a command that permits a user to copy records from one file to another and then remove those records from the first file. We've been doing it all manually using CPYF and INCREL and then deleting the records using an SQL Delete statement. I got the idea to create a command and...

    Floyd02320 pointsBadges:
  • Finding source physical files

    Can you help this iSeries user? He wants to know how he can find only source physical files in any library (Ex: QDDSSRC, QCLSRC, etc.). Thanks! Michelle Davidson Editor Search400.com

    MichelleDavidson330 pointsBadges:
  • AS400 RPG – last three digits of microseconds always zero!

    We noticed in a couple of programs where we were using timestamps that the rightmost three positions are consistently zero and never otherwise. I have tested this with even just a simple ILE RPG program that dsplys a %char(%timestamp()); and still only get zeros for the last three digits....

    Koohiisan5,020 pointsBadges:
  • Calling runtime errors in AS/400

    Program A calls program B with invoice# ( 10S 0) as a parameter. Program B receives Invoice# as a incoming parameter ( Invoice# is a file field). But when program b is called i get a runtime error " PGMB 400 decimal-data error in field (C G S D F)" Help me to fix this error. Code goes as follows:...

    22917510 pointsBadges:
  • CL AS400 iSeries ILE Retrieve Source

    Is there any way to retrieve source for an ILE CL program? I'm looking for a function equivalent to the RTVCLSRC command we use for retrieving the source for a CLP ?

    RIRedCheryl0 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