Can you use the Julian date? SHOWVAR HPDOY
Yim Szeto
Data Base Coordinator
St. Vincent's Hospital
810 St. Vincent's dr.
Birmingham, AL 35242
Tel: 205-939-7991
>>> Boris Kortiak <[log in to unmask]> 6/29/2000 3:15:54 PM >>>
I'm trying to create unique file names for files being FTP'd from out HP e3000 to a workstation which doesn't support long file names.
I figured the best thing to use would be a date time stamp. So using a JCL I can create a file name that looks like "200006281604", but this is too long for use on the target machine. If I convert this to a base 36 number ([0-9,A-Z]) it will always fit into 8 digits for all the date ranges I can foresee (Y28k or thereabouts).
Anyway, my question is: has anyone written a routine in JCL to convert numbers between various bases? Does anyone have any suggestions on how to go about this?
Any and all suggestions gratefully appreciated.