IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP Parameter delimiter


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Global Moderator


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

PostPosted: Tue Jun 28, 2005 5:25 am
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
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
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

Global Moderator


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

PostPosted: Tue Jun 28, 2005 7:15 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top