• Splitting and merging large RPG source files

    What are the commands to split an RPG program so more lines can be added? Also, how to merge the 2 sources together again? My current source has 32,000 lines.

    etibbitts110 pointsBadges:
  • Monitoring Batch Jobs using CL/RPG

    Can I create a CL/RPG to collect job information and create a percentage completion utility

    Startrek6105 pointsBadges:
  • AS/400 – Operator and Operand split

    Hi, Assume if I have a expression like (A < Fieldb) and (C >= FieldD) Then I need to split into 2 arrays or write into a table like: Seq, Operator , Operand1 Operand2. 1 > A Fieldb 2 >= C FieldD 3 and 1 2 If not possible in RPG, is there any other language which can used in AS/400?...

    as400dev585 pointsBadges:
  • Decimal data error for blanks in zoned values

    I have a Zoned decimal field where blanks are accumulated and hence job is throwing decimal data error. Can you please tell me decimal data error occurs because of the blanks in zoned decimal field?

    vishwaraj60 pointsBadges:
  • Best way to pass large array between ILE COBOL modules and Plex2E program

    According to what I've read, the maximum number of characters that can be passed in a data variable is 32767. Changing from COBOL to RPG is out of the question. Need to find a way to handle a larger set of data to be passed between ILE COBOL modules, ILE COBOL programs and Plex2E environment where...

    Worktoplay35 pointsBadges:
  • Move (or Eval) between record formats

    Isn't it possible to move a database file record format to a different format in one statement? I have tried move, movel, and eval, and still get errors. It seems it should be possible. Thanks!

    LFiato200 pointsBadges:
  • Date subtraction in embedded SQL

    I am trying to get all records with an order date in the past 30 days, but the database field is YYYYMMDD. I know how to do this in RPG, but I really want to do it in embedded SQL. Thanks!

    JeffWilson91320 pointsBadges:
  • RPG error types

    In RPG, could you please tell me the different error types? it means 3030 ...like that

    venki125965 pointsBadges:
  • How to give value for a variable while debugging RPG/400 program

    Hi, I need to insert values to DB file. For that, I have created 2 rpg/400 programs(rpg(A),rpg(B)) and I'm receiving values from user through screen- this concept is there in RPG(A) program and by calling RPG(B) from RPG(A). I'm doing insert operation in that DB file - this concept is there in...

    anniekevin5 pointsBadges:

    Used to use //EJECT to force page breaks while printing out source (usually at end of each subroutine. Doesn't seem to work anymore. Any suggestions?

    VGG5 pointsBadges:
  • Email verification in RPG

    How to validate an email address in RPG?

    65GTO340 pointsBadges:
  • Non Subfile Field Not Changing When Doing an EXFMT

    This should be a simple thing to do but it is not working. I have an RPG program in which the user enters a warehouse code and presses enter. If the code is valid, it then populates a field in the record with the warehouse description. If the user changes the code to an invalid warehouse, I turn on...

    GHENDER215 pointsBadges:
  • Data queues in RPG

    Has somebody used a data queue in a RPG program.If so, what is the advantage of using a data queue. Can I have an example.

    A1b2c3335 pointsBadges:
  • History about RPG

    RPG III, RPG IV, RPG ILE, and RPG Free Format? I have little bit confusion about these? Please Let me know the variation.

    AS400learner5 pointsBadges:
  • How to convert a Date given in Char format to numeric format in RPG of AS/400.

    How do I convert a Date given in Char format to numeric format in RPG of AS/400?

    C.naveen09140 pointsBadges:
  • Difference between Record and File locks

    I had always thought that record and file locking where terms used interchangeably. I searched the web and couldn't validate my assumpition. Is there anyway in RPG you can lock a specific record (record lock) in a file without locking the entire file (file lock)?

    GTank5 pointsBadges:
  • What type of data does %Tlookup return?

    What type of data does %Tlookup return?

    everlong5 pointsBadges:
  • CPF4169 error appeared during OPEN for screen file

    In reference to Ibmi ILE programming environment. I am in a screen program which is set to 132 length. There are multiple calls to other programs that are set to 80 length where there is not a problem getting the CPF4169 error. So now I have a new program to call and I am getting this error and I...

    sewell90 pointsBadges:
  • Is Mimix running from within our RPG/CL program?

    How can I know that Mimix is running from within my RPG/CL program. I have written a monitor for Mimix, and I need to be able to know when Mimix is not running so I can stop the monitor. Our operations team cannot use the Portal, politics.

    JonChilds15 pointsBadges:
  • Read a file line by line in RPG

    I need to read a RPG source code file where I need to search a particular string in that file and I need to display RPG file when string found. It is similar to FNDSTRPDM in WRKMBRPDM. How can we do programatically using RPG/CL/COBOL.

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

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