Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP Parameter delimiter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
naive

New User


Joined: 26 Apr 2005
Posts: 46
Location: LA

PostPosted: Tue Jun 28, 2005 12:35 am    Post subject: FTP Parameter delimiter
Reply with quote

We do FTPs from mainframes to a Unix server.
In the parameter card used in the JCl, what is the command delimiter (if there is any)? Do we always have to give only one command per line?

E.g:
Current card:
Login Password
ASCII
Put file file1
Exit


Can this be

Login Password (delim) ASCII (delim) Put file file1
Exit

??
Back to top
View user's profile Send private message

naive

New User


Joined: 26 Apr 2005
Posts: 46
Location: LA

PostPosted: Tue Jun 28, 2005 4:46 am    Post subject:
Reply with quote

To clarify .. what I want to know is : Can we give more than one FTP subcommand in a single line ?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Jun 28, 2005 5:25 am    Post subject: Re: FTP Parameter delimiter
Reply with quote

Personally, I could find nothing documented, or by trial-and-error, except that, if you use them, the user-id and password can be on the same line. I guess that the input follows the conversational manner of FTP.
Back to top
View user's profile Send private message
naive

New User


Joined: 26 Apr 2005
Posts: 46
Location: LA

PostPosted: Tue Jun 28, 2005 5:59 am    Post subject:
Reply with quote

Thats what I found too.. the userid and password can be on the same line ,
but after logging in , i could not put 2 subcommands on the same line. using the standard delims i know!!
Either the next command is disregarded or taken as a parameter for the first command.
Dunno what to do icon_sad.gif(
Back to top
View user's profile Send private message
pnk079

New User


Joined: 28 Jun 2005
Posts: 5
Location: Mysore, Karnataka, India

PostPosted: Tue Jun 28, 2005 7:11 pm    Post subject:
Reply with quote

No, i guess you cant give more than 1 FTP subcommand on single line, based upon several FTP jobs that i have seen.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Jun 28, 2005 7:15 pm    Post subject: Re: FTP Parameter delimiter
Reply with quote

The best I can come up with, if everything else is handled with default parameters, is three lines:

>ascii
>put
>quit

unless you eliminate the "quit" and just let the session time out.
Back to top
View user's profile Send private message
naive

New User


Joined: 26 Apr 2005
Posts: 46
Location: LA

PostPosted: Tue Jun 28, 2005 10:51 pm    Post subject:
Reply with quote

Thanx a lot for ur input and time guys .. i will let u know if I come with nething on this.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts Send parameter for macro STIMERM from... Daniel Teolotitla PL/I & Assembler 13 Tue Jul 05, 2016 9:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us