Time stamp Error



IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS

Time stamp Error

Postby s.jain416 » Thu Sep 30, 2010 10:48 am

H ALWNULL(*USRCTL)
H CVTOPT(*VARCHAR)
H DATEDIT(*YMD)
H FIXNBR(*ZONED : *INPUTPACKED)
H OPTION(*NODEBUGIO)
H SRTSEQ(*LANGIDSHR)
D********************************************************************
D* Work Fields
D* -----------
D DFTDTTM S Z INZ(Z'0001-01-01-00.00.00.000000')
D********************************************************************
C DFTDTTM DSPLY
C/EXEC SQL
C+ INSERT INTO MULTITMP1 (ORG,LOGO,TOTAL,STARTTIME,ENDTIME)
C+ SELECT ORG,LOGO,count(*), :DFTDTTM, :DFTDTTM FROM ATRF
C+ GROUP BY ORG,LOGO
C+ ORDER BY ORG,LOGO
C+ WITH NC
C/END-EXEC
C Seton LR

In this code wat value STARTTIME,ENDTIME will give coa m getting only intialize value while i should get system date/timestamp value.

Kindly let me know wat vto do for this..
s.jain416
 
Posts: 3
Joined: Thu Sep 30, 2010 9:55 am
Has thanked: 0 time
Been thanked: 0 time

Re: Time stamp Error

Postby enrico-sorichetti » Thu Sep 30, 2010 11:26 am

how does this relate to pli ?

what language are You using?

also please do not use sms style jargon!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2962
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 159 times

Re: Time stamp Error

Postby NicC » Thu Sep 30, 2010 10:41 pm

Please, read the forum rules before posting. You will find there that posting the same query multiple times is forbidden.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3026
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to PL/I

 


  • Related topics
    Replies
    Views
    Last post