IBM OS/370, MVS, OS/390, Linux, TPF, VM/CMS, VM/ESA, VSE/ESA, z/VM, z/VSE, z/OS, z/OS.e etc...
by TheSilverFox » Mon Mar 11, 2013 1:01 am
Hi everyone,
I'm currently using FTP+ with connect direct, and i'm trying to FTP a text file thats in a unix directory structure to a dataset with specific dcb parameters(Fixed Block with 80 LRECL)...
How would I do this?
The way i do the put is:
PUT /user/silverfox/test.txt "'MY.FIRST.DATASET""
With the unix file being the source file and the dataset being the destination file.
If anyone has done something similar...For the destination file, where would i specify the DCB Parameters?
-
TheSilverFox
-
- Posts: 12
- Joined: Wed Nov 28, 2012 10:42 pm
- Has thanked: 0 time
- Been thanked: 0 time
by steve-myers » Mon Mar 11, 2013 1:55 am
FTP+ and "connect direct" may queer this, but ... with "standard" FTP you have two options -
- Pre allocate the target dataset on the MVS systen with the DCB attributes you want OR
- Use the SITE FTP command as discussed in "Comm Svr: IP User's Guide and Commands" for your z/OS release to define the DCB parameters for the target data set.
Personally, I prefer the first option.
-
steve-myers
- Global moderator
-
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Has thanked: 4 times
- Been thanked: 243 times
by TheSilverFox » Mon Mar 11, 2013 2:05 am
Thank you very much for your response.
The first option i was able to do but we were trying to create datasets on the fly hence the second option.
-
TheSilverFox
-
- Posts: 12
- Joined: Wed Nov 28, 2012 10:42 pm
- Has thanked: 0 time
- Been thanked: 0 time
Return to Operating Systems
-
- Calculate Service unit for specific address space
by Antonyraj85 » Fri Jan 21, 2011 5:52 pm
- 3 Replies
- 3913 Views
- Last post by Antonyraj85
Sat Jan 22, 2011 12:49 am
-
- adding a dataset to APF library
by jaggz » Mon Jul 26, 2010 6:46 pm
- 3 Replies
- 3460 Views
- Last post by jaggz
Mon Jul 26, 2010 7:25 pm
-
- Checkpoint dataset corrupted
by jaggz » Tue Dec 14, 2010 11:03 am
- 2 Replies
- 2757 Views
- Last post by jaggz
Tue Dec 14, 2010 1:40 pm
-
- Why MVS OS DataSet restricted to 44 characters?
by mvora » Wed Dec 07, 2011 1:02 am
- 9 Replies
- 11539 Views
- Last post by BillyBoyo
Wed Dec 07, 2011 3:01 pm
-
- HBDELETE against Million dataset
by Antonyraj85 » Thu Feb 16, 2012 6:53 pm
- 2 Replies
- 3547 Views
- Last post by Antonyraj85
Fri Feb 17, 2012 11:10 am