Transferring a small text file to Hercules MUSIC/SP Posted to H390-music discussion group as message #272 Oct 12, 2005 (+ later additions) Last updated: Oct 16, 2005 How to get the vol2file source file (or any small text file) to Hercules MUSIC/SP... If you want to use the vol2file program to transfer a .arc file to Hercules MUSIC/SP, you must first get the vol2file source to MUSIC/SP. It's a 135-record text file (or 136 records in a later version), vol2file.txt in directory sim390 of the FTP site. In my previous message I suggested using copy-and-paste into the Editor. Another, perhaps better, way is to use the card reader, device 00c, as follows: - Add the following record to your Herc config file, if not already there: 00c 3505 - On your PC or Linux/Unix, edit vol2file.txt and add the following 3 lines at the top (where $ is in column 21 of the /ID record, and XXXXXX is your $000 MUSIC Batch password in upper case): /ID SAVE-JOB-123456 $000 000 999 999 999 /PASSWORD=XXXXXX /SAVE VOL2FILE Add the following record at the end of the file: /END - Start up Hercules and MUSIC. - Enter the following Hercules command: devinit 00c vol2file.txt eof ascii The Batch job should then run, creating file $000:vol2file on your MUSIC system. This same method can be used to transfer any small text file to MUSIC/SP. Additional notes: (1) MUSIC's Batch reads only 80-byte records. Therefore the text file should not have any records longer than 80. (I assume long records would be truncated, but I have not tested it.) (2) A similar method can be used under Sim390: File menu --> Reader file dialog. But with Sim390 it's usually easier to use FTP. (3) It's also possible to use the reader to load a binary file (such as the .arc file itself), but then you have to use the option ebcdic instead of ascii, and the added JCL at the top and bottom of the reader file must also be in EBCDIC, which is difficult to do in most PC or Unix editors. Also, there is a limit (something like 1 MB) on the size of a batch job in MUSIC/SP, so this would not work for very large .arc files.