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



You probably want something like:

SELECT CUSTMAST ASSIGN TO DATABASE-CUSTMAST.

Depending on the type of file and how you want to access it, you'll need
additional clauses.

For example:

SELECT CUSTMAST ASSIGN TO DATABASE-CUSTMAST
ACCESS SEQUENTIAL.

Check out this link for COBOL manuals
http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/rzahgcobol.
htm


Have fun!


-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave
Sent: Wednesday, May 29, 2013 2:33 PM
To: COBOL Programming on the IBM i (AS/400 and iSeries)
Subject: [COBOL400-L] ASSIGN clause

Hi,

I'm guessing this is obvious to a COBOL person :

I had this :
SELECT CUSTMAST ASSIGN TO CUSTMAST.

So I compiled and got this :
Message . . . . : Device type not found in ASSIGN clause.
Assumed DISK.


So I changed to this :
SELECT CUSTMAST ASSIGN TO DISK.

And the editor says this :
ASSIGN clause system-name not found/invalid. Line rejected.

I can put PRINTER in place of DISK, not that that's what I want.

What's wrong?
Thanks
--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L)
mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/cobol400-l.




****************************************************************************
********
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
****************************************************************************
********





-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3343 / Virus Database: 3184/6366 - Release Date: 05/29/13


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.