IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Accessing Floppy Drive thru COBOL


IBM Mainframe Forums -> PC Guides & IT News
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saravanab29

New User


Joined: 28 Apr 2005
Posts: 1
Location: Bangalore

PostPosted: Tue Apr 01, 2008 12:36 pm
Reply with quote

Hi!

Can any one give me a tips on how to access a floppy drive through Cobol programming?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Apr 01, 2008 4:09 pm
Reply with quote

Are going to write a file on Floppy disk?
Back to top
View user's profile Send private message
rajeshwarch

New User


Joined: 24 Mar 2008
Posts: 29
Location: mumbai

PostPosted: Tue Apr 01, 2008 7:15 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 01, 2008 10:46 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 02, 2008 12:11 am
Reply with quote

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 icon_smile.gif

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Apr 02, 2008 5:51 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PC Guides & IT News

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top