• RPG print file with overlay does not convert to PDF correctly for characters in bold and French characters

    Using Esend to convert iSeries RPG print file to PDF. Prints correctly on IBM printer but once converted to PDF it appears to substitute a different font and the overlay text runs off the page. I have an AS/400 system.

    cfaries5 pointsBadges:
  • Data structure array in RPG

    I have a physical file has 10 column like filed01, filed02, field03......field10 Now I want to define a data structure with 10 subfield of char 5 and use in cursor. For example: select * from t1 fetch from t1 into :DS1 Now I want a array of 10 element automatically get the value from my DS1. Thanks...

    97834441841,465 pointsBadges:
  • RNF7591 on func’s result

    Dear all! I am trying to work with DS fields returning from procedure call. Here are definitions: d fileds E ds EXTNAME(file1:rfmt1) qualified d rsltds ds likeds(fields) d getDS pr likeds(fields) d inID const like(ID) d inDATA const like(DATA) options(*nopass) If I write:...

    tempally25 pointsBadges:
  • RPG large number

    Yes I'll research this on my own, it seems like it'd be an interesting topic. What is the largest numeric size usable in RPG? I'm after the high-end, not the decimals. TMI: I have a calc that blows up when the result is too large for the target field. I know I can calc to a 15.6 numeric, but hoping...

    aceofdelts2,330 pointsBadges:
  • How to substring and cast in select where statement on iSeries with RPG free

    Hi. I'm relatively new to free form RPG and I rewrote a program to be RPG free and SQL. I'm having problems with my where clause. I'm trying to substring the second byte on a 2 digit packed field. I've tried to use the CAST statement to convert the packed field to CHAR and then do the SUBSTRING on...

    raynesnf65 pointsBadges:
  • Reading members of a physical file

    Hi, Can somebody please help by providing the program code for reading all the members of a file using RPG or RPGLE program? Suppose a file has 3 members then how to read the records of all the 3 members in a file? Thanks!

    6r1,715 pointsBadges:
  • Is IBM AS/400 not growing anymore (at all)?

    Did IBM let the AS/400 die? Do you think that CIOs and IT managers that are in charge of an AS/400 system would modernize it? Or for those companies trying to acquire a new  IT system, would they consider implementing a brand new AS/400 for their new system?

    michalwenn35 pointsBadges:
  • RPG tools that allow me to find programs that call a given program

    What tools are available that will allow me to find programs that call a given program. Also need to know all programs that use a given field in a file.

    SteveLane75 pointsBadges:
  • How to add one Module to the existing Service Program

    Hi, I want to add or append one new module called 'C' to the already existing service program (SRVPGM) For Example: I have one service program called SRVPGM consits of 2 Modules are A, B. Now I want to add one new Module called 'C' to SRVPGM. How can I do this?

    Mohan K695 pointsBadges:
  • Write duplicate record to a PF

    A screen has one input field called number. whenever the number is inputted, the value gets stored in a file. The file has 2 fields, Value and Sequence. So, if any user has inputted '10', the files will store 10 as value and 1 as sequence. If any user inputs a value, which is already present in the...

    manju05310 pointsBadges:
  • CPF5032 member already locked to this job

    I have a program written in RPGLE which calls numerous other programs. These programs all share similar files. In my main program, when trying to read a particular file, I get error CPF5032 even though I unlock the file right before I do the setll reade. As a result, I figured the lock must be...

    GHENDER215 pointsBadges:
  • Why can’t I make the leap from RPG to Synon?

    AS/400 RPG programmer (8 yr) and COBOL (22 yr). New job uses Synon extensively. I feel like I'm drowning - I can't seem to make the leap from RPG to Synon. I can't visualize where to look or what to do when given a task. Changes that would take a day or two in RPG are taking 10 times longer, and I...

    SweigartMark110 pointsBadges:
  • Reading Excel with RPG HSSF

    I set up a program to read Excel on my AS/400 using the klement examples then move to user AS/400 and cannot get it to read the Excel. Program compiles fine.

    mr400man5 pointsBadges:
  • Passing a Binary Field to an RPGLE Program using CALL

    I need to pass a 9 digit Binary field (4 bytes in length) to an RPGLE program from a non-RPG program. Following shows how I coded in RPGLE. * Parameter Fields d pmbid ds d mbid 9b 0 .. .. c *entry plist c parm pmbid .. .. When the Binary value is passed as the above parameter, the program doesn't...

    Ananda0 pointsBadges:
  • Configuration setup for Phy CPU

    Hi, We have 2 different systems and configuration for cpu is done as below: System 1 with single threaded movex rpg Assigned Physical Cpu -2 VCpu -2 Uncapped System 2 with multi threaded Movex java: Assigned physical Cpu -1 VCpu -1 Uncapped Looking at above figures system should run with 100%...

    deepakt1160 pointsBadges:
  • What does *IN70 IFEQ ‘9’ mean?

    Hi all, What does this statement means? Indicator 70 is resultant indicator of CHAIN operation and after chain statement this indicator is compared with value '9'. Can an indicator hold this value? Regards,

    hunshabbir72,805 pointsBadges:
  • Reading a file twice in CL

    I declared a file in CL. I read all the records, i.e End Of File has reached. Now again i want to read he file from beginning within the same program.I tried with OVRDBF and POSDBF.But could not succeed.Can any body help me?

    Kumari0 pointsBadges:
  • Transfer data from iSeries RPG to Excel

    How can I transfer data from iSeries RPG to Microsoft Excel?

    Rmw10 pointsBadges:
  • How to validate data in RPG

    How to validate data (if it is numeric or character or both) in RPG? I have customer file(cus1) and field length of CID is 05. I want to display numeric data only. I don't know how to use indicators, please correct the below code. .............. CID  .  CNAME .............. 1201    chow...

    chowas400620 pointsBadges:
  • Calling RPG Proc from COBOL ILE

    This article was very helpful. I have coded and compiled my CBLLE program. Now when I call it, I am getting error RNX0115 'Length of varying length variable is out of range.' Here is my COBOL call statement: CALL PROCEDURE "ENT002_RMVBADCHAR" USING BY VALUE C86D1, GIVING RETURN_VALUE. This is the...

    CLMccarthy5 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