Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Conversion Of CONTOKEN into timestamp

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
Pushpak

New User


Joined: 06 May 2005
Posts: 22

PostPosted: Mon May 16, 2005 11:58 am    Post subject: Conversion Of CONTOKEN into timestamp
Reply with quote

Hi,

Could any one knows how to do the conversion of CONTOKEN into time stamp ?

Pushpak.
Back to top
View user's profile Send private message
References
PostPosted: Mon May 16, 2005 11:58 am    Post subject: Re: Conversion Of CONTOKEN into timestamp Reply with quote

MGIndaco

Moderator


Joined: 10 Mar 2005
Posts: 479
Location: Milan, Italy

PostPosted: Mon May 16, 2005 3:38 pm    Post subject:
Reply with quote

Look for your request into the net...
This is an useful method:
http://www.ruban.de/DB2_OS_390/z_OS_Code/DB2_z_OS_Code_-_Detail_View/db2_z_os_code_-_detail_view_6.html
Back to top
View user's profile Send private message
Pushpak

New User


Joined: 06 May 2005
Posts: 22

PostPosted: Mon May 16, 2005 3:44 pm    Post subject: Re: Conversion Of CONTOKEN into timestamp
Reply with quote

I already tried that code, but its not working. I am getting blow error while executing that code.

Error Description

" 130 +++ return B2X(right(X2B(w)!!copies('0',x),32))
121 +++ w2 = Sll(w2,3)
9 +++ tod = TimeStamp(contoken)
Error running REX2, line 130: Routine not found "

Any Help ????

Pushpak.
Back to top
View user's profile Send private message
MGIndaco

Moderator


Joined: 10 Mar 2005
Posts: 479
Location: Milan, Italy

PostPosted: Mon May 16, 2005 4:05 pm    Post subject:
Reply with quote

Ok...sorry!
I will reply soon... I'm checking for errors.
Back to top
View user's profile Send private message
Pushpak

New User


Joined: 06 May 2005
Posts: 22

PostPosted: Mon May 16, 2005 4:54 pm    Post subject: Re: Conversion Of CONTOKEN into timestamp
Reply with quote

Hey,

I am able to resolve errors, also able to get the timestamp value for one CONTOKEN. Now i have to validate the results.

Thanks For Your Help.

Pushpak.
Back to top
View user's profile Send private message
MGIndaco

Moderator


Joined: 10 Mar 2005
Posts: 479
Location: Milan, Italy

PostPosted: Mon May 16, 2005 6:35 pm    Post subject:
Reply with quote

Ok... sorry...
but that rexx work fine...very fine...
Back to top
View user's profile Send private message
Pushpak

New User


Joined: 06 May 2005
Posts: 22

PostPosted: Mon May 16, 2005 6:38 pm    Post subject: Re: Conversion Of CONTOKEN into timestamp
Reply with quote

Yes !!

You are correct. I was not able to understand it properly .. Any way .. thanks for your response.

Pushpak.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1