10/19/2011

(SQR 3506) Array specified not defined with CREATE-ARRAY

Issue seems to be related to an array.Interestingly my SQR program is not related to any array.But i don't know how this is happening.Checked the line numbers specified in error log.LINE NUMBER OUT OF RANGE this what i got while searching in notepad.So there is no such lines but still this error remains.Then i came to know that I'm using effective date in SQR.So i included #Include 'datetime.sqc' (Routines for date and time formatting) SQC in program.Now its running fine.If we using any date in our program its mandatory to include this SQC.

4 comments:

  1. Thanking you for your post; I was getting the same error for Load-lookup and was not able to find why this error; finally your post helped me out.

    ReplyDelete
  2. Your post was really helpful. Thank you so much for posting it.

    ReplyDelete
  3. 13 years later, this post is still helping people. Same error for me while trying to include stdapi.sqc. Needed setenv and datetime SQCs

    ReplyDelete