• Avoid Hard Coding in AS/400 RPGLE

    Hi, I have a task to design a grouping rule engine that must be robust and flexible for future needs.  I have a customer file with relationship code and I need to group the customers according to group types.  Each group type have different criteria. For example: 1)  Group Type ABC  - ...

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

    GHENDER190 pointsBadges:
  • Adding a call to a new program via RPGLE

    I am adding a call from an existing program to a program that I've just written.  I use a command key from the existing program to call the new one.  That works just fine, but when I exit my program it returns to the origianl screen with just the data on the screen.  I don't know if it's a...

    R4224w5 pointsBadges:
  • Problem with & in RPGLE

    I'm using XML-SAX in a RPGLE-program to read an XML-file which works pretty fine. Though, when I come to an entity with "Boys "&" Girls" (I added extra " in this example between the "&" just to make it visual)  i run into trouble. The handler does not seem to recognise anything after...

    RobeWist5 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:
  • 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.?

    GHENDER190 pointsBadges:
  • How can we check for a particular monmsg in rpgle free format

    I am trying to add qtemp library using command Command1='ADDLIBLE LIB(QTEMP)'; Callp(e) CmdExecution(Command1:%SIZE(Commandstat)); I am unable to check for various monmsg in case of error.

    VivekSharma120 pointsBadges:
  • Updating the column heading of a Physical File

    Is it possible to update the column heading's of PF in an RPGLE program ?

    aderene180 pointsBadges:
  • using SQL statements…………..

    Hi All, I have a problem. I have a string variable STR which contains SQL statements...... Like insert into lib1/fil1 select * from lib2/fil2 variable STR is changable...means I update the values of library and files at run time...in the variable STR.. I want to execute the SQL statements contained...

    navinnegi45 pointsBadges:
  • Stored Procedures called from RPG programs

    I created a stored procedure that returns a result set. I am using it in a PHP program and all works great. Pass in a account Id and returns all hits for valid records for that account. We have a excel report and subfile screen that runs off a green screen that needs to retreive this same data. My...

    nu40400 pointsBadges:
  • CRTBNDRPG defaults

    How/Where/can I...change the printer file defaults for the CRTBNDRPG program command. I need to change the page lenght so that listings will print properly on a laser printer

    Cgraves5 pointsBadges:
  • Using a variable in the LABEL ON SQL statement

    Is it possible to use a variable in the label-string of the LABEL ON sql statement so that the variable can be changed dynamically in an SQLRPGLE program ?

    aderene180 pointsBadges:
  • Debugging Group Jobs

    Is there anybody to help me in getting the procedure for debugging a group job. Thank you for any help in advance. regards, Deepa

    DeepaSara0 pointsBadges:
  • Journal

    How can i retrieve a record from a journal so that i can update the said record to another physical file. Because i want to retrieve the record created or updated from the journal so that i can update the other file. Thank you.

    102219790 pointsBadges:
  • Retrieve RPGLE source date

    I am trying to retrieve the source date from an RPGLE program. I'm sure that there is an API but I haven't been able to find one. The closest I came was QBNRMODI but it seems to require an actual module, not the bound program.

    Vatchy1,410 pointsBadges:
  • On Line Help Program – RPGLE

    Hi Is there a way to invoke a program when pressing the F1 key, without adding the Call statement to the program that is doing the calling ? I would also need to pass parameters, or LDA to the program that I would be calling. Thanks, Nick

    Piano520 pointsBadges:
  • Updating an IFS member in iSeries with RPGLE

    Can an IFS member be updated thru an RPGLE program in the iseries?

    aderene180 pointsBadges:
  • How to prevent parameter 2 from getting into parm 1 in iSeries

    I have a command that calls a RPGLE program. One of the parms has a max of 6 but if using less than the 6, I get info from the next parm in that field. How do I prevent that? Here are the 2 parms as defined in the Command: PARM       KWD(EXCLUDE) TYPE(*CHAR) LEN(1) RSTD(*YES) + 

    VGP300 pointsBadges:
  • Error msg not showing on display screen in AS/400

    hi , i am using a rpgle with display file , & calling a clp . in cl i am using SNGPGMMSG command , i just want to see the error messange on display screen, but its not showing , it is going somewhere else. i can see that error message in DSPJOBLOG. but it should display on display screen. is there...

    Ambrish 82310 pointsBadges:
  • RPG /Free Local Data Area definitions

    I am trying to define the LDA with an external definition in RPG /free. Any help?

    Rstinsonindy15 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