AS/400 printing error
How can I go to next page when I am printing from an RPG/400 program and using an externally described printer file. Scenarios are:- 1. I need to print only 2 lines in a page, and print 2 more lines in next page. 2. I am coming across overflow error CPF5004 when printing a database file. Should I...
How can I go to next page when I am printing from an RPG/400 program and using an externally described printer file. Scenarios are:- 1. I need to print only 2 lines in a page, and print 2 more lines in next page. 2. I am coming across overflow error CPF5004 when printing a database file. Should I...
AS400 read of PC files
On the AS400/ISeries/SystemI, I would like to read PC file data from a PC Server into my RPG program. What is the best way to accomplish this task? Right now, it would be for READ ONLY.
On the AS400/ISeries/SystemI, I would like to read PC file data from a PC Server into my RPG program. What is the best way to accomplish this task? Right now, it would be for READ ONLY.
rpg400
As a part of training in RPG i have created a pf with two fields barcode and vendor.I have created a screen with the same fields.Now i need a code in rpg400 that will open the screen and when values are entered it should get populated in the file.
As a part of training in RPG i have created a pf with two fields barcode and vendor.I have created a screen with the same fields.Now i need a code in rpg400 that will open the screen and when values are entered it should get populated in the file.
RPG COMPLIATION ERROR QCLRTVJA
Hi I am finding error while compliing RPG/400 program error is as follows Message . . . . : Total parameters passed does not match number required. Program QRGRT attempted to call program QCLRTVJA with 47 parameters. Program QCLRTVJA expects a minimum of 48 and a maxmum of 50 can any body...
Hi I am finding error while compliing RPG/400 program error is as follows Message . . . . : Total parameters passed does not match number required. Program QRGRT attempted to call program QCLRTVJA with 47 parameters. Program QCLRTVJA expects a minimum of 48 and a maxmum of 50 can any body...
RPG query
Hi Martin, thanks for the previous query. Now i want to read the data of a DB file and display the data via display file. I have written following code for this: FPFRPG1 IF E K DISK FDSP1 CF E WORKSTN ...
Hi Martin, thanks for the previous query. Now i want to read the data of a DB file and display the data via display file. I have written following code for this: FPFRPG1 IF E K DISK FDSP1 CF E WORKSTN ...
FTP with RPG
I have a file which should be ftped to another server.I have the ftp script.Can you suggest 1.code to automatically ftp the file to another server 2.also to send email alerts using snddst if ftp fails.
I have a file which should be ftped to another server.I have the ftp script.Can you suggest 1.code to automatically ftp the file to another server 2.also to send email alerts using snddst if ftp fails.
rpg400
How to validate a alphanumeric field that is of length 20 but should not allow values less than 12?
How to validate a alphanumeric field that is of length 20 but should not allow values less than 12?
Flat files
I have a data in data strucure then after i need to create flat files in txt format. please suggest me how can i proceed.
I have a data in data strucure then after i need to create flat files in txt format. please suggest me how can i proceed.
DSPF prog
Thanks for ur response.I have a small clarification.If all fields on the screen is from 1 file chain and then exfmt will work.What if the screen has fields form more than 1 file.
Thanks for ur response.I have a small clarification.If all fields on the screen is from 1 file chain and then exfmt will work.What if the screen has fields form more than 1 file.
DSPF programming
Hi Please explain... When i open a screen in update mode how does the value get displayed in the screen and when updated it gets updated in the file.what is the general coding logic used in this case.
Hi Please explain... When i open a screen in update mode how does the value get displayed in the screen and when updated it gets updated in the file.what is the general coding logic used in this case.
RPG procedure
Hello Martin, Below is the codeline which i used for reading a DB file via RPG: FMYFILE IF E K DISK C READ PFRPG1 C DOW NOT%EOF C...
Hello Martin, Below is the codeline which i used for reading a DB file via RPG: FMYFILE IF E K DISK C READ PFRPG1 C DOW NOT%EOF C...
Display files in AS/400
I am getting stated with RPG400.I hev this requirement to add a new field in an existing screen and move this value to a new PF.This is when the screen is opened in crete mode. the other screen where the new field is to be added is the update screen.In this screen value is to be retrieved from the...
I am getting stated with RPG400.I hev this requirement to add a new field in an existing screen and move this value to a new PF.This is when the screen is opened in crete mode. the other screen where the new field is to be added is the update screen.In this screen value is to be retrieved from the...
Reading a database file via RPG program
could anyone provide me with the codeline for reading a database file via RPG program
could anyone provide me with the codeline for reading a database file via RPG program
How to monitor job activity on AS/400
How is it possible to tell on AS/400 that the program (RPG) is just "idling" on the screen and the user is not really using it ? I need the way to monitor it to end the job if the program is not being used.
How is it possible to tell on AS/400 that the program (RPG) is just "idling" on the screen and the user is not really using it ? I need the way to monitor it to end the job if the program is not being used.
RPG error RPG9001
I am received error code QRG9001 error while compliling RPG/400 PROGRAM os version is V3R7M0 on my AS/400 server can anybody help me to resoved this
I am received error code QRG9001 error while compliling RPG/400 PROGRAM os version is V3R7M0 on my AS/400 server can anybody help me to resoved this
Receiving an XML file to RPG
HI, I need to receive xml files ( of fixed format ) to my rpgle progrm ( not free format RPG ) and do some calculations. Can i do this without purchasing any tools ( free tools can be used). Please let me know if anyone has done something similar Regards, Kiron
HI, I need to receive xml files ( of fixed format ) to my rpgle progrm ( not free format RPG ) and do some calculations. Can i do this without purchasing any tools ( free tools can be used). Please let me know if anyone has done something similar Regards, Kiron
Modules in RPGLE
Hi, Can anyone tell me what is module in RPGLE and how is it created? alos tell me how this can be called from rpgle?
Hi, Can anyone tell me what is module in RPGLE and how is it created? alos tell me how this can be called from rpgle?
RPG/400
Hello ,how can we Migrate fromcurrently running on UNISYS platform to AS/400 platform. Major portion of the source application is in COBOL and uses the DMS-II database. This has been migrated to COBOL and RPG on AS/400 using the DB2/400 database
Hello ,how can we Migrate fromcurrently running on UNISYS platform to AS/400 platform. Major portion of the source application is in COBOL and uses the DMS-II database. This has been migrated to COBOL and RPG on AS/400 using the DB2/400 database


