• Variable length fields in RPG IV

    Ed is wondering, "If you don't yet use free-format RPG, is there a way to utilize variable length fields in RPG IV?" What do you think? Is it possible? -- Michelle Davidson, editor, Search400.com

    MichelleDavidson435 pointsBadges:
  • What is signature checking?

    Nirmala is trying to figure out what signature checking is and when to use it. Can you offer some advice? -- Michelle Davidson, editor, Search400.com

    MichelleDavidson435 pointsBadges:
  • How to convert characters to numeric in CSV file?

    Roy wrote the editors of Search400.com recently, looking for help with a CSV file. He said: "I'm using CRTCSVF to create a csv file. My problem is that my customer number is alphanumeric, but they want it to be numeric (without the quotes) in the CSV file and with the leading zeros intact. "Is...

    MichelleDavidson435 pointsBadges:
  • rpg

    I have five indexed files in rpg prog. Can I decleared common key field parameters for all five files? Is it possible in cobol ? If not how will solve this querry in cobol ? Explain with an ex.

    Mahesh115 pointsBadges:
  • Trigers

    Can anyone give me an example of using a trigger when a record is inserted into a file? I am using RPGLE.

    Hex29a0 pointsBadges:
  • 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:
  • 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,...

    MichelleDavidson435 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...

    MichelleDavidson435 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:

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