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

Timestamp in TCP/IP for Z/VSE JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nithinkarthika

New User


Joined: 26 Apr 2020
Posts: 11
Location: India

PostPosted: Sun Apr 26, 2020 5:16 pm
Reply with quote

Hi All,

I have searched several thread and not found any solution, so I am posting a new qustion.

I am working on TCP/IP on Z/VSE and created FTPBATCH jobs to PUT files from mainframe to Unix server. But I want to FTP the files appended with time in HHMMSSMS format. There is a system variable &CURTIME to obtain time in HHMMSS format but its not included millisecond value. I tried &CPUSECS as well but the job is failing at SETVAR step.
SETVAR &T1 = SUBSTR(&CPUSECS,1,6)
SETVAR &T2 = SUBSTR(&CPUSECS,8,2)
SETVAR & TT = &T1 + & T2

So someone please help me to append the timstamp including milliseconds in ftp filename
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 To get the count of rows for every 1 ... DB2 3
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts Timestamp difference and its average ... DB2 11
No new posts To get previous month from current ti... SYNCSORT 7
No new posts Calculate with timestamp PL/I & Assembler 19
Search our Forums:

Back to Top