Do You where I can get the syntax rules for 
the templates ?
The help in PCOMM have examples but not the 
exact syntax. 


TIA
Thomas Berg
__________________________________________
Thomas Berg   Specialist   IT-U   SWEDBANK

-----Ursprungligt meddelande-----
Från: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] För Roger Bolan
Skickat: den 8 juli 2008 22:26
Till: IBM-MAIN@BAMA.UA.EDU
Ämne: Re: PCOMM file xfer question (and rant)

Like most things, it is easy once you know the trick.

I use PCOMM all the time for uploading and downloading to z/VM and z/OS 
systems.  I tried FTP and WSA but PCOMM is easier once you have it set up.

First, I have my customized toolbar.  I can't remember if the default one has 
icons on it for upload and download, but mine does.

Click the upload icon, and then click Options at the bottom of the "Send files 
to Host" window.  Then you can define named sets of transfer options for all 
your different systems.  So, for MVS/TSO, I have predefined everything I 
commonly use.  For example, I have a transfer type for MVS/TSO called "tersed" 
which automatically preallocates a file for me with recfm=fixed lrecl=1024 
blksize=27648 and the right number of primary and secondary cylinders. 
Now, back out of Options and click the Templates button.   I really like 
this.  You can predefine your needs for renaming the files automatically as you 
upload them.  For example, I have a template for PC files with names like 
*=1.*=2.*=3.*=4.*=5.trs that automatically get renamed to 
p*=1.*=4.*=5.trs and use the tersed transfer type.   When I upload files 
from a customer that have names of the pattern nnnnnn,xxx,yyy.name1.name2.trs 
where nnnnnn, xxx, and yyy are all numeric only and therefore illegal on MVS, I 
get pnnnnnn.name1.name2.trs as a tersed file on the host.  So now I can select 
whole bunches of these from a folder and upload them all at once with no manual 
renaming and no manual pre allocating of files and no additional SITE commands 
to issue. 

Once you define the transfer types and templates you use all the time, you can 
upload or download any number of files with just a few clicks and have all that 
renaming and DCB attribute stuff taken care of for you. 

Roger Bolan
infoprint.com

Boulder, Colorado, USA 


P Think before you print 

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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

Reply via email to