> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Michael Knigge > Sent: Monday, June 27, 2005 6:28 AM > To: [email protected] > Subject: Write Tape-Cardrige with a PC? > > > All, > > is it somehow possible to write "standard" Tape-Cardridges with a PC > (running Linux or Windows or Hercules with somewhat-os) so > the tape can > be read with a mainframe running z/OS (3480 format)? > > Thank you, > Michael
Yes, it is. However, "the devil is in the details". Actually, you should be able to read the cart on a compatable drive by using something like: //INTAPE DD DSN=ANYTHING,DISP=OLD, // UNIT=TAPE,VOL=SER=XXXXXX, // LABEL=(1,NL), // DCB=(LRECL=?,RECFM=?,BLKSIZE=?,DSORG=PS,OPTCD=Q) Note that I am assuming "no label" because it is easier to create such a beast on a PC or UNIX system. The real problem, I think, is know the LRECL, RECFM, and BLKSIZE. I am not familiar enough with how Windows or UNIX actually write to tape. The OPTCD=Q does the ASCII to EBCDIC conversion (but not all that well). This assumes that you are only writing "printable" ASCII to the tape. If you are writing binary information (like "int" variable in C), then you'll need to remove the OPTCD=Q and read the data with a customized routine which knows the record layout to convert character fields to EBCDIC and transform binary fields "as appropriate". -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its' content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

