RPGLE Questions and Answers

Recent IT Questions

161 - 180 of 402

Calling non-as/400 programs via an RPGLE or CL program

Can it be done? If so, how would I go about doing this? Let's say I just have a small VB program I wrote that displays a picture. Can I let's say somehow link the VB program call to a CF key, like CF08?

View Answer   |  Jun 24 2008  3:44 PM GMT
RPG, RPGLE, VB
asked by ShatteredRaven77

  390 pts.

Parameter structure COBOL vs RPG

We have a COBOL program which can select up to 42 lines. The parameter structure is: 01 PARM PIC X(1024). 03 ID PIC X(4). 03 SELECTED OCCURS 42. 05 ITEM PIC X(4). 05 DESCRPT PIC x(20). I need to call this pgm in RPG. How do I best define the...

View Answer   |  Jun 24 2008  1:52 PM GMT
COBOL, RPGLE, Parameters
asked by R.otto

  435 pts.

getting I/O error CPF5004

hi, I am trying to write 10000 records from pf to printer file but after writing 200 or 300 records into printer file i am getting I/O error CPF5004 i know that this error i am getting because of page overflow indicator is not set it on but i am doing programming in rpgle i dont know how to...

View Answer   |  Jun 24 2008  5:15 AM GMT
RPG, RPGLE, CPF5004
asked by Mohan K

  470 pts.

how do "call" in RPGLE

how do "call" in RPGLE if program to call is clp with parameter

View Answer   |  Jun 20 2008  12:25 AM GMT
CLP, RPGLE, Call
asked by Iu5

  5 pts.

Determine last day of previous month

Can you help me in determining the last day of the previous month. For example today it is 2008.06.19, the rpgle-routine would return 2008.05.31 Thanks

View Answer   |  Jun 19 2008  1:34 PM GMT
RPG, RPGLE
asked by Guygeb

  45 pts.

Modify display file in runtime

I need to change field attribute in display file within runtime, is there any way to do that?

View Answer   |  Jun 19 2008  10:16 AM GMT
AS/400, RPGLE
asked by SyriANgel

  5 pts.

rpg sql

I am using dynamic sql in an rpgle pgm. This pgm is called from 2 different menu options. When I take the 2nd option, everything works fine. I exit out of that option and take the first option. Everything is still work fine. I exit the first option and go back to the 2nd option and the pgm hangs up...

View Answer   |  Jun 18 2008  4:33 PM GMT
SQL, RPGLE, Dynamic SQL
asked by Mcg

  15 pts.

serviece program in rpgle

what is serviece program in rpgle and how to use it

View Answer   |  Jun 17 2008  12:47 AM GMT
RPG, RPGLE, Service program
asked by Bcd

  5 pts.

Decipherig RPGLE Specs...

I did a CPYF from LIBRARY/QRPGLESRC(RPGLEPGM) to a new physical file created on the fly. Now, I know that when you do this, the data in the SRCDTA field shows exactly what's in the program. BUT, how am I to figure out if an I-Spec statement reflects an actual I, IX, J, or JX prompt?

View Answer   |  Jun 11 2008  12:55 AM GMT
RPGLE, Source code, RPGLEPGM
asked by ShatteredRaven77

  390 pts.

F9=Retrieve...

I'm creating a DSPF and want to put in some common AS/400 command functions, and one of them would be to hit F9 to retrieve the last command entered. How would I go about doing this? I'm using a mock command line input field and would be sending any commands via QCMDEXC. Any ideas on the F9...

View Answer   |  Jun 11 2008  12:48 AM GMT
RPGLE, Menu, DSPF
asked by ShatteredRaven77

  390 pts.

Rename the uploaded file....

hi all i want to rename the just uploaded file to a PC from AS400. Like what happening is that i have used some commands to upload a PF to a .txt file to a PC that are written in CLLE. now i just want to rename the file name with a longer name that is not supported in that CLLE commands..... How...

View Answer   |  Jun 11 2008  6:30 AM GMT
AS/400, RPGLE, CLLE
asked by Karank

  55 pts.

error message

Hai, i want to know the command to dispaly the description of error messages.pls clear my doubt..

View Answer   |  Jun 10 2008  10:32 AM GMT
RPGLE, iSeries programming commands
asked by Babs

  25 pts.

AS/400 and Oracle Access Manager

I have a strange behavior in an SQLRPGLE program accessing iSeries DB2 and Oracle via Oracle Access Manager. The program is very simple and reads values from two Oracle Tables in this way : a. SELECT .... into ..... FROM Table1 WHERE ..... return OK : 1 row as expected with my two fields...

Answer Question   |  May 29 2008  3:58 PM GMT
AS/400, SQL, DB2
asked by Technet

  30 pts.

how to update pf using dspf through rpgle

how to update pf using dspf through rpgle

View Answer   |  May 29 2008  11:55 AM GMT
RPGLE, PF/LF, DSPF
asked by Soumen

  5 pts.

I Put a HEX on youuuuuuuu......

Does anyone have any suggestions as far as reference material that would help me understand EBCDIC Character sets, Hex, Binary, and how you can tie them into CL's & RPGLE's, and whatnot?

View Answer   |  May 21 2008  2:43 PM GMT
RPG, CLP, RPGLE
asked by ShatteredRaven77

  390 pts.

Telnet Exit Format INIT0100

Hello I have a simple RPGLE program witht the following parms. &Usr_Info *Char Lent(44) &Dev_Info *Char Len(28) &Conn_Info *Char Len(76) &Env_Opts *Char Len(1) &Len_Env Type(*int) &Alw_Conn *Char Len(1) &Alw_Auto...

View Answer   |  May 15 2008  2:20 PM GMT
RPGLE, TELNET exit programs
asked by Piano

  250 pts.

convert alphanumeric to binary

hi, my program is receivng an "alphanumeric char 10 length " and im using it to chain a PF, but the field from the physical file is binary 9,0, how will i able to convert an alpha10 to binary 9,0 in RPGLE?

View Answer   |  May 7 2008  3:40 AM GMT
RPG, RPGLE
asked by Crackers

  5 pts.

AS400 to Windows control application

Hi there, I am automating a AS400 based process. The process gets inputs from notepad files on Windows server. After I have processed these files through my RPG, CL programs, I need to take following steps I have 14 files in a windows folder. 1. Create a new folder on windows server. 2. Move...

View Answer   |  May 7 2008  0:57 AM GMT
AS/400, RPG, RPGLE
asked by Nutan

  25 pts.

I am not able to call CL Programe from within RPG Programme. I am using free as400 connection from pub1.rzkh.de Please Suggest

when i am calling a clle programe from rpgle it gives cannot resolve object as the caled programme did not found but the called and caling programme bothe are present in the current library, also it gives same error now for RPg called programme. The compilation to form a programme fom the module...

View Answer   |  May 4 2008  2:05 AM GMT
RPGLE, CLLE, CL
asked by Agg harish sag

  10 pts.

Writing Information to the JobLog

I've seen a number of snippets here and there on the internet regarding the ability to write specific information to the job log in order to figure out exact problems, based on the conditions placed within. I've seen reference being made to some API, but have been unable to actually find useful...

View Answer   |  Apr 25 2008  2:11 PM GMT
RPGLE, RPG IV, Joblogs
asked by ShatteredRaven77

  390 pts.

161 - 180 of 402