i Build one routine, its generating one output file with file is as follows
This is the code is generating below file name:
code: JobName : oconv(@DATE, "D-YMD[4,2,2]") : "_" : oconv(@TIME, "MT") ".log"
File Name:JobName_262006-05-18_12:12:10.log
this file i tried to read from sequential file, i am not able to view the data(view data option)
i am getting the error in the following format
When processing argument -fileWhen processing path: /home/ramir1/JobName_262006-05-18_12:12:10.log is not a valid path name: Invalid hostname: /home/ramir1/JobName_262006-05-18_12
>##E TCOS 000029 12:25:35(008) <main_program> Creation of a step finished with status = FAILED.
I remove _12:12:10 this last things, then its working but i need to timestamp
Can any body help me regarding this
Thanks in Advance
Routine Generating file
Build your file with timestamp with only numbers. Use the following code
Code: Select all
JobName : oconv(@DATE, "DYMD[4,2,2]":@VM:"MCN") : oconv(@TIME, "MT":@VM:"MCN") ".log"
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Try this
This should give you JobName_20060518_1432.log
Code: Select all
JobName :"_": oconv(@DATE, "DYMD[4,2,2]":@VM:"MCN"):"_" : oconv(@TIME, "MT":@VM:"MCN") : ".log"
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: