+ Reply to Thread
Results 1 to 4 of 4

Thread: Clean up Nulls

  1. #1
    Guest.Visitor Guest

    Default Clean up Nulls

    Clear the record format name. CLEAR RECFMT ; Chris

  2. #2

    Default Clean up Nulls

    Your my hero! Thanks Tom

  3. #3

    Default Clean up Nulls

    Hi! I need to write a simple RPG program that will create a record w/ unique key and all the other date,string,and char fields to be initialized to something other than NULLS. There are 255 fields. Is there a quick and dirty RPG operation to do this? I remember in COBOL I could "move spaces" or "move zeroes" to the record format mame and that would be it. thanks

  4. #4

    Default Clean up Nulls

    Watch out moving spaces to a record format name (in COBOL). You will invariably get the infamous MCH1202 (Decimal data error) later on. Instead use the INITIALIZE COBOL verb. it performs the same function as CLEAR in RPG. You may also want to investigate the RPG RESET opcode. Dave

+ Reply to Thread

Similar Threads

  1. TechTip: Clean Up Old IFS Files
    By DKDowning in forum COBOL
    Replies: 13
    Last Post: 01-21-2009, 08:36 PM
  2. the best way to clean a single outq
    By gtrevino in forum General
    Replies: 5
    Last Post: 06-17-2005, 05:24 AM
  3. Automate Spool file clean
    By Guest.Visitor in forum CL
    Replies: 12
    Last Post: 07-23-2004, 10:21 AM
  4. Clean Up Your Digits!
    By bibarnes@yahoo.com in forum RPG
    Replies: 5
    Last Post: 03-04-2004, 05:18 AM
  5. Date Data Type / Nulls / Sequencing
    By Guest.Visitor in forum IBM i (OS/400, i5/OS)
    Replies: 0
    Last Post: 04-24-2001, 11:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts