Skip to Content
author's profile photo Former Member
Former Member

Length Specification not allowed error

Hi Experts.

In 4.6c a program has gen(3) type i.

During upgrade while performing ucheck there is an error saying that the length specification not allowed . How to rectify it.?any Idea?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 28, 2008 at 11:39 AM

    Hi,

    Either you can declare

    DATA: gen TYPE i.

    or

    DATA:gen(3) TYPE N.

    Rgds,

    Bujji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2008 at 11:36 AM

    Hi,

    Do not mention any length.

    data : num type i.
    

    Thanks,

    Sriram Ponna.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 28, 2008 at 11:39 AM

    Hi,

    u took the data type as integer.So u dont need to give length.When u will take as a numeric it need to give length

    ex:

    DATA: LIN TYPE I.

    Z(4) TYPE N ,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.