• Adding and updating physical file

    I have a physical file with no key. I want to add new record to it and if record is added if I want to update it. How can I do it without a key?

    supreet8515 pointsBadges:
  • User Exit Point Programs

    Hi I developed a user exit program, but, it only works when I do FTP from an AS/400 green screen. If I run FTP from my PC, I can log in as any user. (Not even sure if my exit program gets executed from a PC. It is in library QGPL. Thanks for your assistance! Sincerely Nick

    Piano520 pointsBadges:
  • What are the main functionalities of ovrdbf?

    What are the main functionalities of ovrdbf?

    Zilan85 pointsBadges:
  • Auto Refresh page with server time counting in RPGLE program

    I successfully completed auto refresh page with server time counting in RPGLE program. While run my program, some times i got the below error... I/O error CPF4737 was detected in file AUTODSP (C G D F). i share my display coding and rpgle coding below Display file coding..  A              ...

    pdsathishkumar3,790 pointsBadges:
  • Telnet CL program on AS/400

    Does anyone know if it is possible to write a CL or RPG program that will automate a telnet session to a second device to change data? I have a multiple fuel controllers that I need to telnet into daily and change the current fuel price. I would like to automate this. Does any onw know how to do it...

    wkozerski20 pointsBadges:
  • CL Program: Assing select to the variable

    Hi, I have some trouble with my CL Program. Please help me. I have a table like: System name User name Job name tstname1c TOMCATTOMT TOMCATTOM1 ....................... ....................... ....................... tstname1a BOBCATBOBB BOBCATBOB2 ....................... ..........................

    Motorbreath40 pointsBadges:
  • SUBFILE – To read only the UNCHANGED RECORD

    Hi, please help me with the logic how can I read the subfile when the record is not changed. (The user did not touch or crossed the subfile of particular record). How can I deal with that? After searching, I came to know we can achieve only with SFLNXTCHG keyword. But I don't how to proceed with...

    srivijay1190 pointsBadges:
  • Calling API program in RPG

    Hi all, We are about to celebrate silver jubilee of our RPG code, although I am with it since last one year. My question is, in one of our code file there is a call to a program with several parameters. In comments it is written "API call". Where I can find this API. I have tried a lot but couldn't...

    hunshabbir72,630 pointsBadges:
  • Stop AS/400 job purge program

    I have a requirement where i have to submit a PGM in batch. This program is a SQLRPGLE program that deletes record from a file. I have scheduled it at 8pm and I want to stop its purging at 10pm. This means this job will run for 2 hours every day after which it should be stopped. How can I achieve...

    Supriyoas400180 pointsBadges:
  • AS/400 batch jobs

    In a PF, if we delete a record then how to insert a new record at the same place in that PF? Any logic or code? A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? In which scenario C D I...

    chowas400585 pointsBadges:
  • In RPGLE, how to fetch the particular record in 1 lakh record without a key

    Hi, I have some 1 lakh record. I need to fetch from 250th record with no key in it. What is the possible optimed way we can achieve it.

    KirManoj15 pointsBadges:
  • DB2/400-AS/400

    File:Student ................. SID     . Sname . ................. 1       .  Chow . 2       .  Ratna. ................. I want to update sname= Rotna(2nd position a=o) using substring? Please help the query or correct the below query: UPDATE STUDENT SET SNAME=SUBSTR(SNAME, 2,1)...

    chowas400585 pointsBadges:
  • Increase TCP/IP buffer size for AS/400

    I want to increase TCP send and receive buffer size in AS/400. How can I do that?

    Maltaf65 pointsBadges:
  • Remove library from all library lists

    We've stopped using a vendor's product that has been here since we first became a 400 shop 12+ years ago. The vendor's libraries have found their way into hundreds of job descriptions across the system. Is there an easy way to remove the entries for these libraries from all the job descriptions?...

    ERICPELL5 pointsBadges:
  • Can I install V5R3M0?

    Hi friends, based on this Hardware I can install the version V5R3M0 on this machine? Display Processor Information                                                                                System type . . . . . . . ....

    PutzGrilla795 pointsBadges:
  • Word 2003/2007 VBScript fails in 2010 (background printing) – help!

    Hi script wizards, I cobbled this together from info on the web but I don't know hardly anything about scripting - I'm a COBOL programmer! Works with word 2003/2007 (has been for some time) but not in Word 2010. The background printing commands fail (e.g. objWord.Options.PrintBackground = False)....

    LindenR5 pointsBadges:
  • Need a COBOL QMHRTVM Example

    Does anyone have a code snippet they would be willing to share that demonstrates the parameter setup and the call for the API QMHRTVM? I am lousy with API's but I need to incorporate this one into two of my SQLCBLLE Programs.

    FCARPENTER200 pointsBadges:
  • Play recorded macro with CL program

    How can I play a recorded macro with in a CL program?

    Messam65 pointsBadges:
  • Changing Spool File Status in AS/400

    Hello, is there a way you could change the spool file status using a command? For e.g I have a few spools which are currently in the 'SAV', 'HLD' state. How would we be able to convert all of this to a RDY state. A blanket conversion of all spools in an OUTQ state is also acceptable. Any help would...

    lesserT15 pointsBadges:
  • RPGLE Source Lines Exceeded

    RPGLE Source Lines Limit exceeded when compiling the Source. Please see below the error message - ""Compilation stopped. Internal failure occurred. Error Code is 1."" Remove unwanted lines or Divide programs into sub programs. Advice any other ideas to avoid this. Thanks.

    as400dev505 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