| IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc... Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
saravanab29
Joined: 28 Apr 2005
Posts: 1
Location: Bangalore
|
| Posted: Tue Apr 01, 2008 12:36 pm Post subject: Accessing Floppy Drive thru COBOL |
|
|
Hi!
Can any one give me a tips on how to access a floppy drive through Cobol programming? |
|
| Back to top |
|
Gnanas SNG
Joined: 06 Sep 2007
Posts: 416
Location: India
|
| Posted: Tue Apr 01, 2008 4:09 pm Post subject: |
|
|
| Are going to write a file on Floppy disk? |
|
| Back to top |
|
rajeshwarch
Joined: 24 Mar 2008
Posts: 10
Location: mumbai
|
| Posted: Tue Apr 01, 2008 7:15 pm Post subject: |
|
|
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 D.
Joined: 22 Apr 2006
Posts: 1960
Location: Phoenix, AZ
|
| Posted: Tue Apr 01, 2008 10:46 pm Post subject: |
|
|
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
Joined: 23 Nov 2006
Posts: 8022
Location: 221 B Baker St
|
| Posted: Wed Apr 02, 2008 12:11 am Post subject: |
|
|
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 D.
Joined: 22 Apr 2006
Posts: 1960
Location: Phoenix, AZ
|
| Posted: Wed Apr 02, 2008 5:51 am Post subject: |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|