• Problems with Stored Procedures

    Hi, I have written a stored procedure in SQLRPGLE. I used option 15 to create a module, then CREATE PROCEDURE to define it. When I go into SQL to call it, it says External program SVLBR in V64BPCSUSR not found. This is where my module & stored procedure is located. Any ideas on what I missed?...

    Terriharteau0 pointsBadges:
  • CHGPF command

    I am starting a project where I have to expand a field within a file and also add another field to the end of the same file. My question is this: I've never used the CHGPF command to change the file in the following situation. I've heard that you can use this command to create the new object and at...

    NJShoreBob0 pointsBadges:
  • Use of %Lookup BIF in Free form RPG – V5R3?

    Hi, I am having a problem when I try to use the %Lookup BIf in free form RPG. It doesn't seem to be functioning as it is supposed to. Is there something that I am missing (like PTFs) or is there a workaround to this problem if it is a previously known issue? Thanks for your help!!

    Adityavarma0 pointsBadges:
  • RPG vs Java vs Others

    Hi, With the possibilities of using all sorts of C and Java type functions now available in RPG and bearing in mind that (in my experience) Java is difficult to tune to perform reasonably on the i-Series is there any benefit for an RPG programmer to learn Java? Or would some other language be a...

    Gilly40023,730 pointsBadges:
  • I/O operation was applied to closed file error on AS400

    I've got a program that outputs to two reports, a summary and a detail. Both printfiles are using the keyword usropn. I open the files at the begining of the program and I close them at the end. The files close after the totals are printed, the totals are only printed when LR is turned on. LR is...

    Lemonjello100 pointsBadges:
  • Clear leading zeros

    I have a 10A character field which hold a numeric value. Problem is that it contains leading zeros. How can I remove them? Many thanks.  

    NeilD420 pointsBadges:
  • 6.1 OS

    Will RPG IV programs generated using the increase field sizes in 6.1 be able to run on previous versions (i.e. V5R4)?

    Dcarney115 pointsBadges:
  • Need help transfering iSeries DB2 file to PGP Windows program

    Augusto needs your help. He writes: "I have an RPG ILE program that creates a file in my iSeries. The CL I am running controls that the file is ready to FTP to another location. To do this I have to transfer the file to a PC/Windows environment and then use a Windows-based PGP encryption program,...

    MichelleDavidson330 pointsBadges:
  • Possible to prevent program from being called if other program is active?

    Ray has two CL programs: PgmA and PgmB. He doesn't want users to call PgmB at a command line if PgmA is active and vice versa. Is there a way to handle this in a CL? Getting rid of the command line is not an option. Let Ray know if you have any suggestions. Michelle Davidson Editor Search400.com...

    MichelleDavidson330 pointsBadges:
  • Binding Directory Signatures

    I've been researching implementing ILE RPG in our office versus OPM style coding. I've read through the ILE RPG Reference as well as the Concepts and Programmer's Guides. I now have *SRVPGMs moderately well figured out and I've defined Binding Directories for compiling my *SRVPGMS. I discovered the...

    MadDogDing0 pointsBadges:
  • program updates

    Hi everyone! I need to modify an RPG program that is called from a menu (a *MENU object). If I modify this program, do I need to recompile my menu?

    MelissaG20 pointsBadges:
  • how to read records from Externally Described file into data structure

    FAAAL21 UF A E K DISK F RENAME(REC:arec) D jkdata E DS extname(aaal21) c read arec jkdata after compiling, the error message is : RNF7701 20 The data structure is not allowed for the operation according to the book <ILE RPG Reference?SC09-2508-4?>, the above operation should be allowed. I...

    Gracema0 pointsBadges:
  • Line feed problems

    I am trying to create a file on the IFS and then ftp this to our client. He requires a line feed between certain fields and Cr/LF (x'25') at the end of the record. I do not have a problem with the end of record requirement. I am using codepage 437 on the as400 and tried x'15' to get only a line...

    Ronsurething3g0 pointsBadges:
  • RPG/400 error

    i am getting error while moving data from one field to another field. I have two files xodcfp(physical file) xounpr 8 p(2) xodstsf(physical file) xsuprc1 10a while moving data from xounpr to xsuprc1 i am gettig error.... i tried EVAL XSUPRC1 = %EDITC(XOUNPR:'X') but still getting error... please...

    Askt265 pointsBadges:
  • Convert number to roman numerals in RPG

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

    Babs30 pointsBadges:
  • Converting Float to packed

    I am trying to convert a Float8 to a 17 6 Packed and I am loosing 1/100000th of the value of the decimal portion. The packed result is 1/100000th less than the Float value. How do I stop this from happening? I am calculating taxes.

    Kcgto4550 pointsBadges:
  • Printing Array in Set Order

    I have an array that needs to hold 59 variable possibilities -3 chars each, except for 6 of them-they are only 2 each. On the last line of my RPGILE program...how can I do this to set the printing order of these elements? Not only do I get a size error, but also--the 2 char variables leave...

    JLGARSEEYA0 pointsBadges:
  • Activation Group

    I have 3 programs - A, B and C. A calls B and B calls C. A is activated i activation group- AC1. Where as B has *CALLER value in ACTGRP field. C is activated in AC2. All the three programs end with *INLR = *Off. Now after returning to command line from program A, I fire command - RCLACTGRP (AC1)...

    Vids295 pointsBadges:
  • Error message in window subfile

    i have window subfile. Error message is showing behinde the window. It should show within the window. Following is my coding A R SFLMSGW SFL A SFLMSGRCD(15) A MSGKEY SFLMSGKEY A PGMQ SFLPGMQ(10) A R SFLMSGWC SFLCTL(SFLMSGW) A OVERLAY A PUTOVR A 97 SFLDSP A 97 SFLDSPCTL A 97 SFLINZ A 98 SFLEND A...

    Zahidm0 pointsBadges:
  • passing array as parameter

    Hi all How can we pass a character array as parameter from one RPG program to another ? Regards Skapoor

    SKapoor0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following