HP3000-L Archives

July 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Yim Szeto <[log in to unmask]>
Reply To:
Yim Szeto <[log in to unmask]>
Date:
Thu, 6 Jul 2000 10:57:38 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
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.

ATOM RSS1 RSS2