Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Timestamp in TCP/IP for Z/VSE JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Timestamp in TCP/IP for Z/VSE JCL
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    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 how to add date & timestamp to th... dharmaraok DFSORT/ICETOOL 5 Thu Apr 18, 2019 2:45 pm
No new posts DB2 Timestamp field weird behaviour. rizwanaccy DB2 8 Wed Dec 26, 2018 4:33 pm
No new posts How to get MQPUT Timestamp? Rohit Umarjikar Java & MQSeries 3 Wed Aug 08, 2018 10:33 am
No new posts row change timestamp charanmsrit DB2 3 Tue Jul 10, 2018 12:30 pm
This topic is locked: you cannot edit posts or make replies. UTC Timestamp Log Thangavel COBOL Programming 5 Mon Jan 22, 2018 9:04 pm

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