View previous topic :: View next topic
Author
Message
saravanab29 New User Joined: 28 Apr 2005Posts: 1 Location: Bangalore
Hi!
Can any one give me a tips on how to access a floppy drive through Cobol programming?
Back to top
Gnanas N Active Member Joined: 06 Sep 2007Posts: 792 Location: Chennai, India
Are going to write a file on Floppy disk?
Back to top
rajeshwarch New User Joined: 24 Mar 2008Posts: 29 Location: mumbai
Incase of files on hard disc we write the file control entries like SELECT FILENAME ASSIGN TO DISK, in the same way to access the files on floppy drive file control entries are like SELECT FILENAME ASSIGN TO DISKNAME.
I think it is to be works.
Back to top
Anuj Dhawan Superior Member Joined: 22 Apr 2006Posts: 6250 Location: Mumbai, India
Hi,
You guys are mixing IBM (Mainframes) & Microsoft terminologies. I would like to ask other way round question...
I've a TAPE drive, in service of Mainframes, would like to use it to store 'Casion Royal' on it..can I?
Unless, you are using a PC version of COBOL, I doubt this
Quote:
SELECT FILENAME ASSIGN TO DISKNAME
can be used. I don't use such tools but am sure enough they won't be violating the Mainframe terminologies...
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello,
Quote:
Unless, you are using a PC version of COBOL
Do note that this topic is in the PC section of the forum. . .
Quote:
SELECT FILENAME ASSIGN TO DISKNAME
Should be valid on the mainframe - DISKNAME should be a valid DDname. The UNIT= might be trickly, though
Quote:
I don't use such tools but am sure enough they won't be violating the Mainframe terminologies...
Not sure i understand this.
Back to top
Anuj Dhawan Superior Member Joined: 22 Apr 2006Posts: 6250 Location: Mumbai, India
Hi,
To me this
Quote:
SELECT FILENAME ASSIGN TO DISKNAME
soundeed as
Quote:
SELECT FILENAME ASSIGN TO 3420
where 3420 is generic device name for TAPE drives.
Back to top