View previous topic :: View next topic
|
Author |
Message |
renjithravi1 Warnings : 2 New User
Joined: 31 May 2005 Posts: 16
|
|
|
|
Hi,
I need to create an output file with system date and time in the format yyyymmddhhmmss. The output file will be variable block of length 18.
This should be done using the sort facilities. I tried a few possibilities but couldn't finalize
Could you please help me this case?
Thanks and regards
Renjith |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Here's a DFSORT job that will do what you asked for:
Code: |
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD *
DUMMY
/*
//SORTOUT DD DSN=... output file (VB/18)
//SYSIN DD *
OPTION COPY
INREC BUILD=(DATE1,TIME1)
OUTFIL FTOV
/*
|
|
|
Back to top |
|
|
|