ILE RPG
i want to move a numeric field(15,2) to a character field of length 15. i want the character field output with decimal points... For example ...>Input-----> A=123 , B is a character if i move numeric A to character B,character OUTPUT B should be 0000000000123.00
i want to move a numeric field(15,2) to a character field of length 15. i want the character field output with decimal points... For example ...>Input-----> A=123 , B is a character if i move numeric A to character B,character OUTPUT B should be 0000000000123.00
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...
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...
PAGE X OF X
If for example, I have a 5 page report, does anyone know how to make the report read page 1 of 5, page 2 of 5, etc without first having to print the report to see how many pages there are? (I am using RPGLE)
If for example, I have a 5 page report, does anyone know how to make the report read page 1 of 5, page 2 of 5, etc without first having to print the report to see how many pages there are? (I am using RPGLE)
open(open file for processing)
OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.
OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.
RPG-ILE Examples
Please tell me the best site for rpg-ile coding examples in a work atmosphere, not the single line examples like in the manuals. Thanks
Please tell me the best site for rpg-ile coding examples in a work atmosphere, not the single line examples like in the manuals. Thanks
Data Structures and Procedures
Hi, I want some good explanation on DATA structures with sample examples and also about using procedures (PR and PI) with examples....
Hi, I want some good explanation on DATA structures with sample examples and also about using procedures (PR and PI) with examples....
Error in execution programs batch with screen
I have a program RPG/ILE that has a screen, but an indicator is handled for when lot is executed the program in way does not appear the screen, but at the time of the execution the program by error in pnatalla for a program falls batc; as I can solve this disadvantage. Gracias
I have a program RPG/ILE that has a screen, but an indicator is handled for when lot is executed the program in way does not appear the screen, but at the time of the execution the program by error in pnatalla for a program falls batc; as I can solve this disadvantage. Gracias
How to unit test a module?
Hi, I have done some enhancements in the existing module. for that i wolud like to do a unit test any one can help me out to describe how we can unittest a module .
Hi, I have done some enhancements in the existing module. for that i wolud like to do a unit test any one can help me out to describe how we can unittest a module .
Send messages from RPG
Hi everyone! Do you know if there is a way to send text messages from an RPG program to a cell phone, by using a command or something like that? Or, could you tell me how to send an email message from an RPG program, using commands or APIs? Examples would be greatly appreciated. Thanx in...
Hi everyone! Do you know if there is a way to send text messages from an RPG program to a cell phone, by using a command or something like that? Or, could you tell me how to send an email message from an RPG program, using commands or APIs? Examples would be greatly appreciated. Thanx in...
MONMSG and SNDRPY
Dear, I'm trying to write a small program to run my backup job via BRMS... and I would like to check the different errors and reply automatically to few of them. Ok, I can monitor the error messages through MONMSG but how can I reply to them ? I know that I have to use SNDRPY but how can I have the...
Dear, I'm trying to write a small program to run my backup job via BRMS... and I would like to check the different errors and reply automatically to few of them. Ok, I can monitor the error messages through MONMSG but how can I reply to them ? I know that I have to use SNDRPY but how can I have the...
create computations on the fly
We are primarily a COBOL shop. We have some COBOL ILE and some RPG. I have a need to replicate a function on the I-series that is currently done in Excel. This function allows them to create formulas on the fly to arrive at pricing information. I can work through issues with interactive...
We are primarily a COBOL shop. We have some COBOL ILE and some RPG. I have a need to replicate a function on the I-series that is currently done in Excel. This function allows them to create formulas on the fly to arrive at pricing information. I can work through issues with interactive...
Zebra printers on an iSeries platform
I am on an assignment that has me pulling out what little hair I have remaining. Zebra printers use a language caled ZPL to print thermal labels. Problem is, there is no tool I can locate on the iSeries that produces ZPL code. Zebra offers a product that is PC based. It produces ZPL code that...
I am on an assignment that has me pulling out what little hair I have remaining. Zebra printers use a language caled ZPL to print thermal labels. Problem is, there is no tool I can locate on the iSeries that produces ZPL code. Zebra offers a product that is PC based. It produces ZPL code that...
Monitoring VRYCFG
Hello, Well, I need some advice because I'm one more time a little bit lost in my learning of AS/400 programming. Here is what I'm trying to do: Everytime that the AS/400 receives a VARY OFF on 1 specific device, I would like to execute a program after the VARY OFF is complete. I was thinking of...
Hello, Well, I need some advice because I'm one more time a little bit lost in my learning of AS/400 programming. Here is what I'm trying to do: Everytime that the AS/400 receives a VARY OFF on 1 specific device, I would like to execute a program after the VARY OFF is complete. I was thinking of...
Embedded SQL in SQLRPGLE using JOIN on multiple files
Greetings, In the past I've used embedded SQL in an SQLRPGLE program and on the FETCH INTO statement I specify an externally defined data structure with the definition of the file I am SQLing thus allowing me to read in the entire record's fields mapped correctly in one FETCH INTO statement... ...
Greetings, In the past I've used embedded SQL in an SQLRPGLE program and on the FETCH INTO statement I specify an externally defined data structure with the definition of the file I am SQLing thus allowing me to read in the entire record's fields mapped correctly in one FETCH INTO statement... ...
How can you send a Reverse Image message to users message que
I am attempting to send a Reverse Image message to a users message que with the SNDMSG command. I am attempting to put the 'X21' attribute (Green Reverse Image) on the message so that the message appears in Reverse Image and stands out for the user. I have seen this done before but...
I am attempting to send a Reverse Image message to a users message que with the SNDMSG command. I am attempting to put the 'X21' attribute (Green Reverse Image) on the message so that the message appears in Reverse Image and stands out for the user. I have seen this done before but...
SETLL and READE or CHAIN? Performance Issues
HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am...
HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am...
How to make a batch job run faster (excpet for the run priorty), Code changes?
HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am looking...
HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am looking...
Determine Java Version from RPG
I have multiple solutions dependent upon the version of java or the lack of java on an iSeries, all controlled from RPG. From RPG,how can I determine if java is installed on the machine and if installed, what version? Any ideas?
I have multiple solutions dependent upon the version of java or the lack of java on an iSeries, all controlled from RPG. From RPG,how can I determine if java is installed on the machine and if installed, what version? Any ideas?


