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.
%ERROR function in RPG
How to use % error built in function in rpgle program any code example please?
How to use % error built in function in rpgle program any code example please?
Data QUEUE - Remote location ..... for program device DDMDEVICE was not found
When trying to use a remote DATA QUEUE the send and receive data queue commands failed giving : Service with protocol tcp not found. Cannot establish DDM connection with remote system. Operation on DDM data queue DTAQFIFO in TESTLIB failed. Remote location MYAS400 for...
When trying to use a remote DATA QUEUE the send and receive data queue commands failed giving : Service with protocol tcp not found. Cannot establish DDM connection with remote system. Operation on DDM data queue DTAQFIFO in TESTLIB failed. Remote location MYAS400 for...
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.
Dynamic screen designing in RPG
is it possible to design rpg screen at run time. I mean designing and using screen through rpg code.
is it possible to design rpg screen at run time. I mean designing and using screen through rpg code.
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.
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...
RPG Array
Hello ! Can I check for all the elements of an Array in single statement ? e.g. If Array(*All) = *Blanks ? I want to check that all elements of an array is blank or not.
Hello ! Can I check for all the elements of an Array in single statement ? e.g. If Array(*All) = *Blanks ? I want to check that all elements of an array is blank or not.
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
AS/400 file specification
Why sometimes we need to put "K" for file specification?eg: FSSDATA IF E K DISK
Why sometimes we need to put "K" for file specification?eg: FSSDATA IF E K DISK
EXFMT
Hi, I have used two EXFMT Statements successively in my RPG Program as shown below EXFMT FOR1 EXFMT FOR2. FOR1 is SFLCTL and FOR2 is a record to be overlayed in FOR1 at the bottom. Now I want my program to display FOR2 immdediately after FOR1. But I could realise that only whent the enter key is...
Hi, I have used two EXFMT Statements successively in my RPG Program as shown below EXFMT FOR1 EXFMT FOR2. FOR1 is SFLCTL and FOR2 is a record to be overlayed in FOR1 at the bottom. Now I want my program to display FOR2 immdediately after FOR1. But I could realise that only whent the enter key is...
sql table in rpg
I need to read an sql table (file) in rpg and select certain records. I'm pretty green in sql. Anyone have a sample they could share? I'am better at rpg than ile., but I'll take what I can get. Thanks
I need to read an sql table (file) in rpg and select certain records. I'm pretty green in sql. Anyone have a sample they could share? I'am better at rpg than ile., but I'll take what I can get. Thanks


