HP3000-L Archives

June 2000, Week 5

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:
Boris Kortiak <[log in to unmask]>
Reply To:
Boris Kortiak <[log in to unmask]>
Date:
Thu, 29 Jun 2000 16:15:54 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (8 lines)
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