Re: On Topic : Cobol question.



Hi,

Take a look at the INTEGER-OF-DAY and DAY-OF-INTEGER functions along with the INTEGER-OF-DATE and DATE-OF-INTEGER functions.

http://docs.hp.com/cgi-bin/doc3k/B3150090013.11820/126
http://docs.hp.com/cgi-bin/doc3k/B3150090015.11951/60

Stefan

>>> "Rao, Raghu" <rrao@xxxxxxxxxxxxxxxxx> 07/05/05 3:35 PM >>>
Hi all,

We have been regularly using the FUNCTION CURRENT-DATE in COBOL to fetch =
the
runtime date and time inside the cobol programs as listed below :

MOVE FUNCTION CURRENT-DATE TO WS-CURRENT-DATE-TIME.

However, I could not find any information related to extracting current =
date
in Julian format (YYDDD). Is there anything directly that can be =
achieved
from this FUNCTION or any other function ? My only alternative so far is =
to
code a logic for converting above Gregorian to Julian date format and =
then
use in the COBOL program.

Any help is greatly appreciated.

TIA
Raghu Rao

www.preferredcare.org
"An Outstanding Member Experience," Preferred Care HMO Plans -- J. D. =
Power and Associates

Confidentiality Notice:
The information contained in this electronic message is intended for the =
exclusive use of the individual or entity named above and may contain =
privileged or confidential information. If the reader of this message =
is not the intended recipient or the employee or agent responsible to =
deliver it to the intended recipient, you are hereby notified that =
dissemination, distribution or copying of this information is =
prohibited. If you have received this communication in error, please =
notify the sender immediately by telephone and destroy the copies you =
received.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *






*************************
The information in this email is confidential
and may be legally privileged. It is intended
solely for the addressee. Access to this email
by anyone else is unauthorized. If you are not
the intended recipient, any disclosure, copying,
distribution or any action taken or omitted
to be taken in reliance on it, is prohibited
and may be unlawful. If you believe that you
have received this email in error,
please contact the sender.


Avis de confidentialité : ce message peut contenir
des renseignements confidentiels. Si vous n'êtes
pas le destinataire indiqué ou prévu dans ce message
(ou responsable de livrer ce message à la personne
indiquée ou prévue) ou si vous pensez que ce message
vous a été adressé par erreur, vous ne pouvez pas
utiliser ou reproduire ce message, ni le livrer à
quelqu'un dautre. Dans ce cas, vous devez le
détruire et vous êtes prié davertir l'expéditeur
en répondant au courriel.

Peerless Clothing Inc
8888 Pie IX Boul.
Montreal (Quebec)
H1Z-4J5
514-593-9300

*************************

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

.



Relevant Pages

  • Re: Login Report
    ... If anyone wants the columns to line up to make the log easier to read, you can fiddle with the LFT & RHT functions on the fields that aren't fixed-length, maybe something like... ... Subject: Login Report ... If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and/or any files or attachments transmitted with it is strictly forbidden. ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • RE: What is this forum for?
    ...  any review, use, dissemination, disclosure or copying of this email ... please immediately notify the sender by ... since you have implicitly breeched my confidentiality ... "This email is intended to be reviewed by only the intended recipient ...
    (freebsd-questions)
  • Re: Set a variable for a specific position in a file
    ... field that show the hours of the day the session can logon(see example ... If you are not the intended recipient, ... * To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: JCL Migration Specialist opening
    ... Human Resource Manager ... Confidentiality notice: The information contained in this message is legally ... the reader of this message is not the intended recipient, ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: Blast from the past Friday
    ... THIS ELECTRONIC MAIL TRANSMISSION AND ANY ATTACHMENTS MAY CONTAIN PRIVILEGED, CONFIDENTIAL, ... MESSAGE IS NOT THE INTENDED RECIPIENT OR THE AUTHORIZED REPRESENTATIVE OF THE INTENDED ... COMMUNICATION IS STRICTLY PROHIBITED. ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)