+ Reply to Thread
Results 1 to 3 of 3

Thread: ISO convertion to 6byte date field

  1. #1

    Default ISO convertion to 6byte date field

    What do you mean by a six-digit date field? If it's also of the date data type, just eval one to the other. But if you mean a numeric or alpha field, use MOVE. See the RPG manual for details. Factor 1 tells the format: e.g., *MDY Op code is MOVE Factor 2 is the ISO date Result field is the alpha or numeric field to hold the date.

  2. Default ISO convertion to 6byte date field

    Is there and easier way to convert the iso date to a 6 digit date field? I was thinking of just cutting it out into a data structure and work with it accordingly but when creating the ISO date I use a *MDY of the field to the iso field with other tests. Is there a similar way to convert it back?

  3. Default ISO convertion to 6byte date field

    Got it fixed thanks anyway I was doing a reset on my fix and blew the program up. the code was *mdy move isodate 6bdate. 6 byte was meaning just a 6 digit date field. Thanks anyway

+ Reply to Thread

Similar Threads

  1. Replies: 8
    Last Post: 04-25-2007, 07:18 AM
  2. Problem with Date Type field and field Reference File
    By David Abramowitz in forum General
    Replies: 2
    Last Post: 07-27-2006, 10:32 AM
  3. Moving a date defined field to a numeric field using free format
    By buck.calabro@commsoft.net in forum General
    Replies: 2
    Last Post: 05-25-2004, 02:00 AM
  4. Converting a numeric field into a date field
    By David Abramowitz in forum RPG
    Replies: 3
    Last Post: 02-12-2002, 07:55 AM
  5. Moving numeric field to date data type field.
    By Guest.Visitor in forum Application Software
    Replies: 19
    Last Post: 08-20-2000, 04:21 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