View previous topic :: View next topic
|
Author |
Message |
liying
New User
Joined: 27 May 2010 Posts: 47 Location: da lian.china
|
|
|
|
how can I convert the following to case?
Case 1
Input:Charactor(10)
12
100
-30
Output: Fixed Decimal(15,3)
00000002
0000001C
00000010
0000000C
00000000
0000003D
Case2
Input:Charactor(10)
12
100
-30
Output: Fixed Binary(31) |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 418 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
What have you tried? |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 418 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Look up TRAN under OUTREC in the manual. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
As dneufarth has already suggested, the SFF to PD conversion would give you what you want. |
|
Back to top |
|
|
liying
New User
Joined: 27 May 2010 Posts: 47 Location: da lian.china
|
|
|
|
than you so much, I have find the answer in the guide your have provided the link. |
|
Back to top |
|
|
liying
New User
Joined: 27 May 2010 Posts: 47 Location: da lian.china
|
|
|
|
Nic Clouston wrote: |
Look up TRAN under OUTREC in the manual. |
thank you so much for your hint , I have found the answer. |
|
Back to top |
|
|
liying
New User
Joined: 27 May 2010 Posts: 47 Location: da lian.china
|
|
|
|
Arun Raj wrote: |
As dneufarth has already suggested, the SFF to PD conversion would give you what you want. |
your hint have really helps a lot. Since the book is so heavy to search.
my answer is
case1
OUTFIL OUTREC=(1,4,SFF,TO=PD,LENGTH=8)
case2
OUTFIL OUTREC=(1,4,SFF,TO=BI,LENGTH=4) |
|
Back to top |
|
|
|