• XML-INTO fails, which element caused it?

    I'm using XML-INTO in an RPGLE program with allowextra=yes, allowmissing=yes and case=any and it returns an error. PSDS doesn't give any useful info so what is the best way to figure out why it failed? If the end tag is mispelled it parses all the data but gives the same error as if the first...

    baumgardnd50 pointsBadges:
  • AS400 error

    Hi I have cpy the fiel to csv file using command Cpytoimpf.. CPYTOIMPF FROMFILE(ARCPGM/&QFLENM) TOSTMF(&CSVDIR) + MBROPT(*ADD) STMFCODPAG(*PCASCII) + RCDDLM(*CRLF) DTAFMT(*DLM) NULLIND(*YES). As this file when we are loading in oracle server...it is not loading few bad records,bad records are...

    iiiiiiiiiiiii335 pointsBadges:
  • Progress bar in rpgle

    Hi i have created a progress bar in rpgle , i just want to know is there some way to calculate the completion % of the program . I want this as i want to show the status bar with the percentage completion . My main program just runs 2-3 commands . So just want to know is there some way to calculate...

    munduuu435 pointsBadges:
  • Emailing spool files from as/400

    how do you email spool files from as400 using rpg4

    Keo55 pointsBadges:
  • Reading flat file defined as DBCS

    Hi Experts, I have copied an xml file with chinese characters like this one <COMPANY_NAME>上海百维生物科技有限公司</COMPANY_NAME> into a flat file with structure below A          R $PDER                  A            $PDEF      ...

    Dodiaz10 pointsBadges:
  • 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:

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