|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Help transfering Binary Mainframe files from PC to MVSAll -
I apologize if this is the wrong group to ask. If it is not, please suggest the correct group. I have been using Hercules for a long time. I think it is great. I have never had any problems transfering files between MVS and the PC in the past (Binary or text in either direction). I have a number of binary (EBCDIC) files that I would like to get to my Hercules systems. In the past I have used my Attachmate Extra emulator with IND$FILE and have only had minor problems, which I have been able to solve usually by adjusting the IND$FILE specified blocksize in my emulator. I am now getting hard errors in the middle of some files being transfered, where it appears to be putting binary data on the screen, locking the session and aborting the transfer. I was wondering if anyone knew of some documentation for FTP (which I have never used) , or is there a way to create a tape file on the PC with my files a individual datasets. I have heard of AWSTAPE, but I am not sure exactly what it is, or if it is what I need. Thank You, - Dave |
|
|
Re: Help transfering Binary Mainframe files from PC to MVS--- In H390-MVS@..., "ddkulas" <Dave@...> wrote:
> > I have a number of binary (EBCDIC) files that I would > like to get to my Hercules systems. Can you describe the exact contents of the binary files? A hex dump would be good. First say 150 bytes of the file. > I am now getting hard errors in the middle of some > files being transfered, where it appears to be putting > binary data on the screen, locking the session and > aborting the transfer. Business as usual. > I was wondering if anyone knew of some documentation > for FTP (which I have never used) Nor have I. > or is there a way to create a tape file on the PC with > my files a individual datasets. I have heard of AWSTAPE, > but I am not sure exactly what it is, or if it is what > I need. Yep, this is how I get my data up onto the mainframe when I'm using VM. However, for MVS I instead use a batch file called "ziptopds" which comes as part of MVS/380. It also makes use of some utilities (m4) that come with Cygwin and another utility that comes with PDPCLIB (which you need to compile yourself - you can use gcc that comes with Cygwin if you want). If you're willing to download those different components, then you will have this available: Usage example: ziptopds gccdoc.zip GCC.DOC [ascii] So you zip up your binary files, compression is OK, then it will all be sent up and unzipped into that PDS that you named. If you include the "ascii" keyword an ASCII to EBCDIC translation will be done on the way up, but since you have binary files, you just leave that out. You should preallocate the PDS you want, and use the DCB attributes you want to end up with. If your files have embedded RDW, that will be handled automatically to match a V dataset. Normally you would have fixed data, and that will match too. It will assume that your data is in the format that the allocated dataset is. Note that it actually goes via the card reader (it puts stuff into hex first so that it can do a pure text transfer, and it's all done transparently to the end user. If you want to go ahead with that, I can guide you through the different things you need. BFN. Paul. |
|
|
Re: Help transfering Binary Mainframe files from PC to MVS--- In H390-MVS@...,
"ddkulas" <Dave@...> wrote: - - - snipped - - - > In the past I have used my Attachmate Extra >emulator with IND$FILE and have only had minor >problems, which I have been able to solve >usually by adjusting the IND$FILE specified >blocksize in my emulator. - - - snipped - - - Which IND$FILE? The one from IBM or the one from this group's file section? Which version? Enter IND$FILE of a TSO READY mode prompt to insure your version is V1.1.1 or hope for something newer someday. V1.1.1 from this group's file section does not handle RECFM=U If you can't get IND$FILE to work, IEBGENER of an OMA/TDF tape may work? May not? If MVS 3.8j, it probably doesn't have ftp added? It can be added but there are issues. |
|
|
Re: Help transfering Binary Mainframe files from PC to MVSFor transferring binary files from a Host system to Hercules, I strongly recommend using XMIT... 1) Use XMIT to create an XMIT formatted dataset. 2) Download the binary XMIT file (in binary mode) to the PC. 3) If you are using Attachmate Extra as your 3270 emulator under Hercules, upload the XMIT formatted file into Hercules. Otherwise, you could use RDRPREP to construct an IEBGENER JCL with the XMIT file as EBCDIC "SYSUT1 DD DATA" input. Best Regards, Scott --- In H390-MVS@..., "ddkulas" <Dave@...> wrote: > > All - > > I apologize if this is the wrong group to ask. If it is not, please suggest the correct group. > > I have been using Hercules for a long time. I think it is great. > > I have never had any problems transfering files between MVS and the PC in the past (Binary or text in either direction). > > I have a number of binary (EBCDIC) files that I would like to get to my Hercules systems. > > In the past I have used my Attachmate Extra emulator with IND$FILE and have only had minor problems, which I have been able to solve usually by adjusting the IND$FILE specified blocksize in my emulator. > > I am now getting hard errors in the middle of some files being transfered, where it appears to be putting binary data on the screen, locking the session and aborting the transfer. > > I was wondering if anyone knew of some documentation for FTP (which I have never used) , or is there a way to create a tape file on the PC with my files a individual datasets. I have heard of AWSTAPE, but I am not sure exactly what it is, or if it is what I need. > > Thank You, > - Dave > |
|
|
Re: Help transfering Binary Mainframe files from PC to MVSIf you want to explore FTP (falls under the Communications Server category), here are the current z/OS 1.9 reference manuals: IP User's Guide and Commands (z/OS 1.9) http://publibz.boulder.ibm.com/epubs/pdf/f1a1b970.pdf <http://publibz.boulder.ibm.com/epubs/pdf/f1a1b970.pdf> IP Programmer's Guide and Reference (z/OS 1.9) http://publibz.boulder.ibm.com/epubs/pdf/f1a1d370.pdf <http://publibz.boulder.ibm.com/epubs/pdf/f1a1d370.pdf> All IBM z/OS 1.9 Communications Server manuals: http://www-03.ibm.com/systems/z/os/zos/bkserv/r9pdf/#commserv <http://www-03.ibm.com/systems/z/os/zos/bkserv/r9pdf/#commserv> BTW. Can you clarify if you are having trouble going from Host to Hercules or vice versa. Best Regards, Scott --- In H390-MVS@..., "sccosel" <scosel@...> wrote: > > > For transferring binary files from a Host system to Hercules, I strongly > recommend using XMIT... > > 1) Use XMIT to create an XMIT formatted dataset. > > 2) Download the binary XMIT file (in binary mode) to the PC. > > 3) If you are using Attachmate Extra as your 3270 emulator under > Hercules, upload the XMIT formatted file into Hercules. Otherwise, you > could use RDRPREP to construct an IEBGENER JCL with the XMIT file as > EBCDIC "SYSUT1 DD DATA" input. > > Best Regards, Scott > > --- In H390-MVS@..., "ddkulas" Dave@ wrote: > > > > All - > > > > I apologize if this is the wrong group to ask. If it is not, please > suggest the correct group. > > > > I have been using Hercules for a long time. I think it is great. > > > > I have never had any problems transfering files between MVS and the > in the past (Binary or text in either direction). > > > > I have a number of binary (EBCDIC) files that I would like to get to > my Hercules systems. > > > > In the past I have used my Attachmate Extra emulator with IND$FILE and > have only had minor problems, which I have been able to solve usually by > adjusting the IND$FILE specified blocksize in my emulator. > > > > I am now getting hard errors in the middle of some files being > transfered, where it appears to be putting binary data on the screen, > locking the session and aborting the transfer. > > > > I was wondering if anyone knew of some documentation for FTP (which I > have never used) , or is there a way to create a tape file on the PC > with my files a individual datasets. I have heard of AWSTAPE, but I am > not sure exactly what it is, or if it is what I need. > > > > Thank You, > > - Dave > > > |
|
|
Re: Help transfering Binary Mainframe files from PC to MVSThe problem that you are seeing is probably due to your running out of space in the receiving dataset. The best answer is to pre-allocate the dataset on your MVS image at the size you will need, then IND$FILE it to that dataset. Make sure you allocate it with the proper attributes for the type of file that you are sending.
Brian --- In H390-MVS@..., "somitcw" <somitcw@...> wrote: > > --- In H390-MVS@..., > "ddkulas" <Dave@> wrote: > - - - snipped - - - > > In the past I have used my Attachmate Extra > >emulator with IND$FILE and have only had minor > >problems, which I have been able to solve > >usually by adjusting the IND$FILE specified > >blocksize in my emulator. > - - - snipped - - - > > Which IND$FILE? The one from IBM or the > one from this group's file section? > > Which version? Enter IND$FILE of a TSO READY > mode prompt to insure your version is V1.1.1 or > hope for something newer someday. V1.1.1 from > this group's file section does not handle RECFM=U > > If you can't get IND$FILE to work, IEBGENER > of an OMA/TDF tape may work? May not? > > If MVS 3.8j, it probably doesn't have ftp > added? It can be added but there are issues. > |
|
|
Re: Help transfering Binary Mainframe files from PC to MVSAll -
Thank you for all the suggestions. I will go through this and try to determine what I can use. I am only looking to get the binary from the PC to the mainframe as a stream. I don't care what the charastics are once it gets to to the mainframe. I can write a program to reblock the files that are fixed blocked and the files that are variable I can read the RDW to read the data and reblock it into readable datasets. Again Thanks. - Dave --- In H390-MVS@..., "sccosel" <scosel@...> wrote: > > > If you want to explore FTP (falls under the Communications Server > category), here are the current z/OS 1.9 reference manuals: > > IP User's Guide and Commands (z/OS 1.9) > http://publibz.boulder.ibm.com/epubs/pdf/f1a1b970.pdf > <http://publibz.boulder.ibm.com/epubs/pdf/f1a1b970.pdf> > > IP Programmer's Guide and Reference (z/OS 1.9) > http://publibz.boulder.ibm.com/epubs/pdf/f1a1d370.pdf > <http://publibz.boulder.ibm.com/epubs/pdf/f1a1d370.pdf> > > All IBM z/OS 1.9 Communications Server manuals: > http://www-03.ibm.com/systems/z/os/zos/bkserv/r9pdf/#commserv > <http://www-03.ibm.com/systems/z/os/zos/bkserv/r9pdf/#commserv> > > > BTW. Can you clarify if you are having trouble going from Host to > Hercules or vice versa. > > Best Regards, Scott > > --- In H390-MVS@..., "sccosel" <scosel@> wrote: > > > > > > For transferring binary files from a Host system to Hercules, I > strongly > > recommend using XMIT... > > > > 1) Use XMIT to create an XMIT formatted dataset. > > > > 2) Download the binary XMIT file (in binary mode) to the PC. > > > > 3) If you are using Attachmate Extra as your 3270 emulator under > > Hercules, upload the XMIT formatted file into Hercules. Otherwise, you > > could use RDRPREP to construct an IEBGENER JCL with the XMIT file as > > EBCDIC "SYSUT1 DD DATA" input. > > > > Best Regards, Scott > > > > --- In H390-MVS@..., "ddkulas" Dave@ wrote: > > > > > > All - > > > > > > I apologize if this is the wrong group to ask. If it is not, please > > suggest the correct group. > > > > > > I have been using Hercules for a long time. I think it is great. > > > > > > I have never had any problems transfering files between MVS and the > PC > > in the past (Binary or text in either direction). > > > > > > I have a number of binary (EBCDIC) files that I would like to get to > > my Hercules systems. > > > > > > In the past I have used my Attachmate Extra emulator with IND$FILE > and > > have only had minor problems, which I have been able to solve usually > by > > adjusting the IND$FILE specified blocksize in my emulator. > > > > > > I am now getting hard errors in the middle of some files being > > transfered, where it appears to be putting binary data on the screen, > > locking the session and aborting the transfer. > > > > > > I was wondering if anyone knew of some documentation for FTP (which > I > > have never used) , or is there a way to create a tape file on the PC > > with my files a individual datasets. I have heard of AWSTAPE, but I am > > not sure exactly what it is, or if it is what I need. > > > > > > Thank You, > > > - Dave > > > > > > |
|
|
Re: Help transfering Binary Mainframe files from PC to MVS--- In H390-MVS@...,
"ddkulas" <Dave@...> wrote: > All - > Thank you for all the suggestions. I will >go through this and try to determine what >I can use. > I am only looking to get the binary from >the PC to the mainframe as a stream. I don't >care what the charastics are once it gets to >to the mainframe. I can write a program to >reblock the files that are fixed blocked and >the files that are variable I can read the >RDW to read the data and reblock it into >readable datasets. > Again Thanks. > - Dave I have a tiny assembler program that might help. Just ask if needed: PASS TITLE 'RDW2VB - - - Convert PC file with RDW to RECFM=VB' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * The problem is: When you ftp a RECFM=VB data set to a PC * as binary the default is to remove any record indicator. * If locsite rdw or quote site rdw is specified then the * RDW is saved but there is no standard way to return the * data to the main frame and reconstruct a RECFM=VB data set. * * This program will copy the binary data with RDWs to a * RECFM=VB data set. * * SYSUT1 is input and will be opened as RECFM=U so that is what * it should be. * * SYSUT2 is output and will be opened as RECFM=VB and the JCL * must specify the LRECL * * Written: 2008-10-21 |
|
|
Re: Help transfering Binary Mainframe files from PC to MVS--- In H390-MVS@..., "somitcw" <somitcw@...> wrote: > > I have a tiny assembler program that > might help. Just ask if needed: > > PASS TITLE 'RDW2VB - - - Convert PC file with RDW to RECFM=VB' > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * > * The problem is: When you ftp a RECFM=VB data set to a PC > * as binary the default is to remove any record indicator. > * If locsite rdw or quote site rdw is specified then the > * RDW is saved but there is no standard way to return the > * data to the main frame and reconstruct a RECFM=VB data set. > * > * This program will copy the binary data with RDWs to a > * RECFM=VB data set. > * > * SYSUT1 is input and will be opened as RECFM=U so that is what > * it should be. > * > * SYSUT2 is output and will be opened as RECFM=VB and the JCL > * must specify the LRECL > * > * Written: 2008-10-21 > where will it be)? Thanks, Scott |
|
|
Re: Help transfering Binary Mainframe files from PC to MVS--- In H390-MVS@..., "sccosel" <scosel@...> wrote:
> --- In H390-MVS@..., "somitcw" <somitcw@> wrote: >> I have a tiny assembler program that >>might help. Just ask if needed: >> PASS TITLE 'RDW2VB - - - Convert PC file with RDW to RECFM=VB' >> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> * >> * The problem is: When you ftp a RECFM=VB data set to a PC >> * as binary the default is to remove any record indicator. >> * If locsite rdw or quote site rdw is specified then the >> * RDW is saved but there is no standard way to return the >> * data to the main frame and reconstruct a RECFM=VB data set. >> * >> * This program will copy the binary data with RDWs to a >> * RECFM=VB data set. >> * >> * SYSUT1 is input and will be opened as RECFM=U so that is what >> * it should be. >> * >> * SYSUT2 is output and will be opened as RECFM=VB and the JCL >> * must specify the LRECL >> * >> * Written: 2008-10-21 > Could you please post the code, or have you already? >Where is it (or where will it be)? > Thanks, Scott I found it in my c:\trash\trash\trash but it should work. Please at least assemble to check. http://tech.groups.yahoo.com/group/H390-MVS/files/RDW2VB.jcl |
| Free embeddable forum powered by Nabble | Forum Help |