• How can I split job by determine no. of records ?

    I have a problem. My transaction file is about 20,000 records. This file is used as input/update file. It uses a long time when we run job in day end. I want to use less time. How can I split job to 4 job and each job run only 5000 records? How can I determine as follows ? job 1 process data only...

    Cookiekitty110 pointsBadges:
  • Command Prompt Override for CL Commands

    Hi, I am managing a very large project that has morphed time and time again. Presently a new release of a third-party application that requires tight coupling with various aspects of the primary application was introduced. Instead of the Jr. Programmers going back time and time again to substitute...

    Doogen0 pointsBadges:
  • triggers

    i know you can attach a trigger to a physical file, but can you attach one to a print file or even a display file. thanks in advance

    Cowboypgmr0 pointsBadges:
  • Modules and Program Dependancies

    Is there any command or method to find, the Number of Programs that are created with a Specific Module? Using DSPPGM, we can find the modules used to create the Pgm. But is there any command or method to find out the No of Programs , that a specific module is being attached/bound?

    Cganeshh0 pointsBadges:
  • RPG400 Sample Program

    Hi, I am learning RPG/400 on my own. I am looking for a sample program which will be reading a database file and showing the records on a display file and update the records through display file. I would appreciate if anyone can provide me the same. Thanks & regrads, Rajsekhar

    Rajsekhar0 pointsBadges:
  • VALIDATE 9 DIGIT ROUTING NUMBER

    What is the RPG code I need create in order to validate a bank routing number..I basically have the algorithm, but not sure how to separate each digit and make the necessary calculation for each of the 9 digits in order to validate that the user entered the correct routing number in a specific...

    ECAL640 pointsBadges:
  • OVRDBF in JAVA

    I am trying to insert records to a member in a PF through JDBC. Tried with QCMDEXC in Java. But the member is not being overridden, inserting records in the First Member-always. What may bethe cause? Can any one suggest the possible solution for this?

    Cganeshh0 pointsBadges:
  • How do I download posted RPG Code to my own system?

    I'm new to this forum. I've found RPG code in the programmer tips area that I'd like to use on my system but can't figure out how to get it on my system other than typing it all in by hand! One topic had a clipboard function but I don't understand how to get it from the clipboard to the Qrpgsrc....

    Luvmypt0 pointsBadges:
  • To retrieve data from a remote system

    Hi, I have to retrieve data from a remote system (May be of any operating system) and shall put into AS/400. This process should be automated and there can't be any manual intervention. We can not use FTP commands here. Is there any other way this can be achieved. Can?t go for MQ Series either as...

    Helbert0 pointsBadges:
  • Source for a the DSPPGMMSG command

    Dan wrote in with this question recently: "I'm trying to find the source for a command called: DSPPGMMSG. I have version 3.2 RPG & CL. I'm trying to run on a 5.2 box and this command is used extensively throughout the CL's. Any info would be greatly appreciated." Can you help Dan out? -- Debra...

    DebraTart0 pointsBadges:
  • Send a message to a message subfile

    Nitin wrote in with this question recently: "How can I send a message to a message subfile from a sub procedure that is called from main procedure." Do you know how this can be done? -- Debra Tart, associate editor, Search400.com

    DebraTart0 pointsBadges:
  • Using SQLRPG on a DDM File

    Hi, I need to access a DDM file via SQLRPG -since SQL does not directly support DDM -can it be done by first using OVRDBF on the DDM file to override it to a local file and then use SQLRPG ? Help would be much appreciated for a project I am currently working on. Thank you! Ruwan

    Ruwan7770 pointsBadges:
  • RTVQRYF (Back in time)

    Hi, I have recently joined a company which hasn't moved on since I was there last in 1990 !!! We still use RPG3 and Query (no ILE or SQL for us) Anyway my question. We need to create a utility which will find all queries that use or write to a file. I have downloaded the RTVQRYF cmd from the...

    Oldtimer45900 pointsBadges:
  • STRSEU a member and display a message while edit is starting.

    how can I run the command STRSEU and display a message to the user when the source is displayed. the message can be displayed in the TOP command line or anywhere else on the screen. thanks !

    GonenSho0 pointsBadges:
  • Utility to Print RPG Output Specs

    Does anyone recall or use a utility that was used in "the old days" to print a listing of the O-specs in RPG II. The utility would review an RPG source member. It would then print a listing of what the output heading and detail lines would look like. It used "X"s and "9"s to show lengths of fields...

    MikeBaker5 pointsBadges:
  • How to operating with Multiple Member PF in RPG ?

    I have a multiple member physical file and I want to operate(read/update/delete) with specific member in RPG. The member name for that PF need to be set at runtime depending upon from which program this rpg program is called. I am writing the sample code that I was trying, but it ends up with...

    Inlog10 pointsBadges:
  • STRSEU macro – how to run Repetitive tasks on source members

    I want to run few CHANGE commands on list of source members and add some logic to the CHANGE commands - e.g. if a source line contains 'AAA' then do CHANGE 'BBB' to 'CCC' I want to be able to run it in Foreground and Batch. For those of you who understand z/VM or Z/os - I am looking for something...

    GonenSho0 pointsBadges:
  • rpg

    We just upgraded to an iSeries box with 5.3. We were running 4.6. My RPG programs function properly until I recompile the program. Then I get an compile error 7073 regarding the length of a key field not equal. The compile shows BIN2 (and sometimes multiples) after the other key fields and I can't...

    Kahenry0 pointsBadges:
  • Writing system errors to QPJOBLOG system file

    Ped wrote in with this question recently: "From an ILE-C program, how do I code to write 'system errors' to the QPJOBLOG system file?" Can you help him out? -- Michelle Davidson, editor, Search400.com

    MichelleDavidson435 pointsBadges:
  • How to open file in different modes in RPG?

    Hi, There have been a lot of changes in RPG over the last few years and I've lost track of many of these changes, so I have a question about file opens in RPG :- Is it possible to open a file for either input only or update without using overrides (and preferably without multiple F-specs)? The idea...

    Gilly40023,730 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