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?
FTPing to a dataset with specific paramters
-
- Posts: 12
- Joined: Wed Nov 28, 2012 10:42 pm
- Skillset: Beginner, Basic JCL.
- Referer: Internet
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: FTPing to a dataset with specific paramters
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.
-
- Posts: 12
- Joined: Wed Nov 28, 2012 10:42 pm
- Skillset: Beginner, Basic JCL.
- Referer: Internet
Re: FTPing to a dataset with specific paramters
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.

-
- Similar Topics
- Replies
- Views
- Last post
-
-
How To display the count based on a specific string?
by Chintu333 » Fri Aug 19, 2022 12:59 am » in DFSORT/ICETOOL/ICEGENER - 3
- 2110
-
by sergeyken
View the latest post
Fri Aug 19, 2022 8:52 pm
-
-
-
Process file/records until a specific total is reached.
by chillmo » Thu Mar 24, 2022 6:18 am » in Syncsort/Synctool - 12
- 3864
-
by sergeyken
View the latest post
Wed Mar 30, 2022 10:12 pm
-
-
- 2
- 2747
-
by willy jensen
View the latest post
Sat Mar 04, 2023 12:41 pm
-
- 12
- 3907
-
by RalphEagle
View the latest post
Fri Jul 30, 2021 1:00 pm
-
- 3
- 2694
-
by sergeyken
View the latest post
Sat Nov 16, 2024 11:05 pm