RPGLE Questions and Answers

Recent IT Questions

1 - 20 of 401
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>

AS/400 display file

How to decide the position of Display file's constant variable dynamically. I wanted to decide the position in RPGLE program. Software/Hardware used: AS400

View Answer   |  Nov 20 2009  1:41 PM GMT
AS/400 Display File, RPGLE
asked by Rajeshece

  475 pts.

AS400 - RPGLE

I wanted move Numeric Field to Character field. I am using Free format RPGLE Program. I have used %Char to do this operation. It is moving 2 to Character field, While trying to move 02 to Character field. I am expecting '02' in Character field How to achieve this in Free format RPGLE Program?

View Answer   |  Nov 19 2009  8:02 AM GMT
RPGLE
asked by Rajeshece

  475 pts.

Why am I having such a problem copying a file.

Trying to copy a smaller file 89 bytes and one field less file to a 96 byte file that has one more field. Trying Cpyf weblibl/wcur test01/wcur mbropt(*replace) fmtopt(*map *dr op) Get a return message of 29767 records copied but receiving file is empty. Where did they the records goto?

View Answer   |  Nov 18 2009  11:35 PM GMT
RPGLE Training, RPGLE, AS/400 Data File
asked by Nitzinger

  150 pts.

Convert RPGLE to SQLRPGLE

How do I convert RPGLE program to SQLRPGLE? Software/Hardware used: AS400

View Answer   |  Nov 12 2009  9:31 PM GMT
RPGLE, SQLRPGLE, RPGLE Program
asked by Nutangujar

  750 pts.

Record Locking

I'm using embeded SQL to delete (clear) all records in a file. I do not want more than 1 person in this file. So whe the user executes the program it runs the SQL and clears the records in the file. Now I want to do some file/record checking logic to see if the file is locked to another job. THen...

View Answer   |  Nov 12 2009  6:59 PM GMT
RPG Record Locks, RPGLE, AS/400
asked by RonKoontz

  1320 pts.

Debugging RPGLE Program

I have compiled the RPGLE source with DBGVIEW Option as *STMT. How to debug this program?

View Answer   |  Nov 12 2009  10:37 AM GMT
RPGLE, RPG debugging, DBGVIEW
asked by Rajeshece

  475 pts.

BUILTIN FUNCTION..

HOW CAN WE CHECK THE EXISTANCE OF ANY RECORD IN ANY PF WITHOUT READING THE FILE IN RPGILE . . IS THERE ANY BUILT IN FUNCTION  THANKS/

View Answer   |  Nov 10 2009  12:47 AM GMT
RPGLE, RPG ILE, RPG Functions
asked by Ambrish 82

  275 pts.

level check error

Hi all, Please tell me how can we prevent level check error..befor occuring dump suppose we have have a pgm 'a' and a file 'pf1' i just want to be assure that level check error will occure or not.. regards/

View Answer   |  Nov 7 2009  9:13 AM GMT
RPGLE, Level Check
asked by Ambrish 82

  275 pts.

how to access any particular menber of any pf

Hi, if i have a pf having 5 members..how can i access 3rd member of it through in rpgile.. regards Ambrish

View Answer   |  Nov 7 2009  4:47 AM GMT
DB2/400, RPGLE, PF
asked by Ambrish 82

  275 pts.

RPGLE Flat File

how can i keyed a flat file in RPGLE Software/Hardware used: file

View Answer   |  Nov 5 2009  10:58 AM GMT
RPGLE, Flat files
asked by Hemavijay

  80 pts.

CGI loses percent sign

We have a web app ( a CGI) written in RPGLE and HTML that prompts for several data fields and writes a record to our web iseries. When the Comments field contains a percent sign ("%"), the data file ends up without that symbol and the next character is gone, too. Is there a simple way to fix this ?...

View Answer   |  Nov 4 2009  9:38 PM GMT
CGI, RPGLE, Web application development
asked by Aceofdelts

  385 pts.

Retrieve the RPGLE program from object

Hi all, I accidently deleted my program. Is there any way to retrive the program from its object. Software/Hardware used: AS400

View Answer   |  Nov 4 2009  2:47 PM GMT
RPGLE Program, As/400 Object, RPGLE
asked by Vipin2m

  20 pts.

SQLCODE = 1077952576

All- I'm getting the above error code from an RPGSQL program. This is just after a DECLARE statement. Other fields in the SQLCA are blank. I can run the statement in Interactive SQL w/o errors. I should be getting a small subset. I get 0 records. Any Ideas?  It's not in the SQLCODE finder. Phil ...

View Answer   |  Nov 2 2009  11:02 PM GMT
RPGLE, RPGSQL, V5R4
asked by MurrayInfoSys

  570 pts.

ACCESS PARTICULAR MEMBERS IN RPG

SUPPOSE I HAVE A PF WITH 3 MEMBERS. IS IT POSSIBLE TO DO READ/WRITE OPERATION ON PARTICULAR 2 MEMBERS? Software/Hardware used: AS/400

View Answer   |  Oct 31 2009  11:34 AM GMT
RPGLE, RPG/400, RPG
asked by Amol123

  5 pts.

printer file in rpgle

I've program described printer file.. how to code page break for program described printer file?? Software/Hardware used: AS400

View Answer   |  Oct 27 2009  9:20 PM GMT
AS/400 Printer File, AS/400 printing, RPGLE
asked by Nutangujar

  750 pts.

Convert number to roman numerals in RPG

Hi, Can any know how to convert numbers to roman numerals in RPG or RPGLE?

View Answer   |  Oct 24 2009  6:43 AM GMT
RPG, RPGLE
asked by Babs

  25 pts.

RPGLE Program woes

I had an AS/400, consolidated to a newer one w/other facilities. When my library was restored and I tried to process an old program, it does not pull any data. I have not programmed in several years and have never used RPGLE. Do not know how to use debugger, etc. so I'm wondering if the problem...

View Answer   |  Oct 22 2009  6:26 PM GMT
RPGLE, RPGLE Program
asked by Mhsuttg

  40 pts.

Need to find everyplace a file is being used.

I have a file that we are adding a field. Need to find every program the file is being used to know which ones need to be recompiler. Would be nice to do one big search of the entire library.  Software/Hardware used: as400

View Answer   |  Oct 22 2009  3:37 PM GMT
RPG, RPGLE, DDS
asked by Nitzinger

  150 pts.

RPGLE. cpytopcd

I have tried to create a file where every record is 80 characters long. Every record should be filled with spaces if the record is shorter than 80 char. In my program I use cpytopcd and this command seems to cut every record if there aren't any more characters. If you look at it in hexadec...

View Answer   |  Oct 22 2009  3:24 PM GMT
RPGLE Program, CPYTOPCD, RPGLE
asked by Kasten

  15 pts.

decimal data error

I declare time field in RPG as D btime    4  0 eval btime = 2400 this one i pass to a CL program with var type var(&tim) type(*dec) len(4,0) and this in turn passed to another RPG program D stime    4  0 when it comes to third program it has some hex char shown in debug as belo stime = 2_4_...

View Answer   |  Oct 20 2009  10:29 PM GMT
RPGLE, RPG, Decimal Data Error
asked by Nutangujar

  750 pts.

1 - 20 of 401
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>