× 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.



OK.  It is Friday -- finally.  I am having a problem with something that
should be simple!  What I am doing is reading a file into a DS.  I am
getting a compiler error that tells me that the data structure is not
allowed in the operation.  My code is as follows:

FPRJ001L5  IF   E           K Disk    ReName(PRJ001R:PRJ001R5)
F                                                         Prefix(L5:2)

D PRJ001R5DS    E DS                  ExtName(PRJ001L5)
D                                                          Prefix(D5:2)

 /Free

   ...

   read prj001R5 PRJ001R5DS;

   ...

 /End-Free

The error is:
*RNF7701 30    347 010500  Data structure PRJ001R5DS is not allowed for the
operation.

Any ideas?

Thanks

Mike


=======================================
Mike Silvers
Senior Programmer/Analyst
IBM Certified Expert
Hainey Business Systems
Main Office:  (717) 718-9601 ext 237
Branch Office:  (410) 397-8739
http://www.hbs-inc.com
=======================================



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.