Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 4650
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 Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us