MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP Question

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
arvibala
Beginner


Joined: 12 Feb 2008
Posts: 142
Topics: 67

PostPosted: Wed Feb 25, 2009 9:34 am    Post subject: FTP Question Reply with quote

Hi,

We are faced with requests to send files thru FTP and the destination file name should have DateTime Stamp in it. Though we can write a program to accomplish this, I want to know if FTP has a utility which takes care of this?

Thanks
_________________
Arvind
"You can make a difference with your smile. Have that with you always"
Back to top
View user's profile Send private message Yahoo Messenger
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Feb 25, 2009 9:40 am    Post subject: Reply with quote

No, it doesn't. You'll have to write the code.

I remember posting a question to IBM a few years ago asking them why the FTP program couldn't use some of the standard system variables. Never had a response, though.
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Wed Feb 25, 2009 10:43 am    Post subject: Reply with quote

While FTP doesn't have a utility, IBM does have program ezacfsm1 that will probably be in your linklst. Note the way I use it may not be what you want (one job submitting another job).

Code:
//GL4MJOB JOB (6496,TECH),'AUTOJC',CLASS=T,                       
// MSGCLASS=T,NOTIFY=&SYSUID                                       
//*--------------------------------------------------             
//* TRANSLATE SYMBOLS LIKE STC'S CAN                               
//*--------------------------------------------------             
//STEP0100 EXEC PGM=EZACFSM1                                       
//SYSOUT DD SYSOUT=(*,INTRDR)                                     
//SYSIN DD DATA,DLM=@@                                             
//GL4MJB JOB (6496,TECH),'AUTOJC',CLASS=T,                         
// MSGCLASS=T,NOTIFY=&SYSUID                                       
//STEP0100 EXEC PGM=IEFBR14                                       
//FILE01 DD DSN=&SYSUID..D&LYYMMDD..T&LHHMMSS.&&LPARNAME,         
// DISP=(NEW,CATLG,DELETE),                                       
// UNIT=SYSDA,                                                     
// SPACE=(CYL,(10,10),RLSE),                                       
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=0)                               
//FILE02 DD DSN=&SYSUID..D&WDAY..T&WDAY..&JOBNAME,                 
// DISP=(NEW,CATLG,DELETE),                                       
// UNIT=SYSDA,                                                     
// SPACE=(CYL,(10,10),RLSE),                                       
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=0)                               
@@                                                                 
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group