Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Accessing Floppy Drive thru COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PC Guides & IT News
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    Post subject: Accessing Floppy Drive thru COBOL
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: 788
Location: Chennai, India

PostPosted: Tue Apr 01, 2008 4:09 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Apr 01, 2008 10:46 pm    Post subject:
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

Site Director


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

PostPosted: Wed Apr 02, 2008 12:11 am    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 02, 2008 5:51 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PC Guides & IT News All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us