× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Am I missing something? 

I am trying to test a text field for containing a date value. The text field 
is part of a DS array:

D M DS Based(pMessages)
D Qualified
D Dim(5)
D MsgDate 10A
D Chunk1 1A
D MsgType 2A
D Chunk2 3A
D Message 134A

When I specify:
Test(DE) *USA M(Loop).MsgDate;

The compiler barks and says
1) no semicolon at the end of a free format line (it places the 'a' under 
the period after M(Loop))
2) 7030 field MsgDate is not defined. 

If I move the text field to a standalone, and change the statement to:
Test(DE) *USA TempDate;

It compiles fine. Are subfields of DS arrays not allowed on the TEST op 
code?

-- 
"Enter any 11-digit prime number to continue..."
"In Hebrew SQL, how do you use right() and left()?..." - Random Thought

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.