• 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:
  • Receiving a Binary file

    I have a vendor who is placing a files on a FTP Server in Binary.  I need to retrieve those files and place them into an iSeries database file. Is there away to retrieve the file straight from the FTP Server into the database file using GET that will translate from binary to mixed text and packed...

    AS400PCFileTransfer16115 pointsBadges:
  • How to send email through RPG IV or CL?

    [strong]I need to send my spool file thru  email [/strong]

    22917560 pointsBadges:
  • Problem in writing footer in windows subfile

    hi if i write footer its not getting displayed... write control write footer exfmt control.. i hv coded lik above pls rep as soon as possible

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

    BUG68235 pointsBadges:
  • How to display error message without using error message but from complete file time array

    DEAR, HI I HAVE TO DISPLAY ERROR MESSAGES LIKE WHEN I ADD EMPLOYEE CODE,MY PROGRAM SHOULD DISPLAY ERROR MESSAGE AS "EMPLOYEE ALREADY EXISTS"... ONE THING I SHOULD NOT USE ERROR MESSAGE OR ERRMSGID SIMPLE DISPLAY FILE... NOT USING SUBFILE... THEN MAINLY I AM USING COMPILE TIME ARRAY as err1......

    22917560 pointsBadges:
  • Chain in RPG IV

    What is your definition of CHAIN and when do you use it in your programming?

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

    GHENDER250 pointsBadges:
  • Take a date and format to MDY in RPG IV

    I have a date coming in from a file (ADDate Zoned 8 0) so it comes out 20090428 but I want to have it convert to 042809 how can I do that? thanks  

    Jaymz69765 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.?

    GHENDER250 pointsBadges:
  • Command to track how many spool files users have

    I have certain users who never clean out their spool files. Is there any command I can run which will tell me how many spool files a user has out there? I am currently on version V5R4 of the operating system

    GHENDER250 pointsBadges:
  • Advanced Trigger question for *insert *before to allow update of field value

    I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...

    Dcdc5 pointsBadges:
  • Password Expiry

    Hi,if i want to change my password after 15 days ..then plz gv me a coding for that in rpgiv....

    Swapniln35 pointsBadges:
  • Position Cursor Issue in subfile

    I have a subfile with 'Position to' option in control format. so to keep the cursor in subfile recod, i have used DSPATR(PC) for option field and Reverse Image as well. But indicators are different, when I am trying to show error, i m setting the both indicators (PC,RI since i have used different...

    frmdeva365 pointsBadges:
  • Loading two Subfile On same screen.

    How To Load Two Subfiel In a single screen?

    Sms121185 pointsBadges:
  • Using system() function in RPG IV

    Could someone please tell why this doesn't work? Path = '\SOMENAME. I get a CPF006 ('Errors occurred in command.') The message in the joblog is 'String '\XMLDATA\A' contains a character that is not valid.' D path S 63A Varying D cpfmsg S 7A Import('_EXCP_MSGID') D command S 1024A Varying D system...

    GLinds0125 pointsBadges:
  • Problem with *READ Trigger Program

    Caller Program A Reads a record from File X. "After-Read-Trigger" kicks in and calls Program B. Program B changes the Read-Record's fields as per the required logic (I can see the modified trigger-buffer in debug).

    Ihabik60 pointsBadges:
  • open(open file for processing)

    OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.

    Gauravsolanki5 pointsBadges:
  • Text Editor (Word Processor) on iSeries.

    On our system we have limitless text for our Items. We developed a rudimentary text editor many years ago which is also used for creating letters (for emails/faxes etc) but ideally we would like to buy a decent 'text editor' that is native to the iSeries. Does anyone know of such a...

    NeilD570 pointsBadges:
  • Quick and dirt way to backup my greenscreen pgms to my pc

    Quick and dirt way to backup my greenscreen as400 pgms to a text file or word file on the C: of my PC.

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

Thanks! We'll email you when relevant content is added and updated.

Following