Results 1 to 2 of 2

Thread: shift data with a REDEFINES clause

  1. #1
    Geek_Guest
    Guest

    shift data with a REDEFINES clause

    Question asked by guest visitor Chad

    Is there any way to shift data with a REDEFINES clause? ie, I have a pic x(9) with left justified data and I want to redefine it with a pic 9(9) padded with zeros on the left so that it is a proper DB2 integer.


  2. #2
    Junior Member
    Join Date
    Apr 2007
    Answers
    9

    Re: shift data with a REDEFINES clause

    Your plan will nor work.
    you can just redefine
    numeric data with numeric fields and
    alphanumeric data with alphanumeric fields.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact