|
View previous topic :: View next topic
|
| Author |
Message |
sathish_rathinam
New User
.jpg)
Joined: 22 Aug 2005 Posts: 59 Location: india
|
|
|
|
OUTREC FIELDS =(+1,PD,LENGTH=6,(-1),PD,LENGTH=6,-50,TO=ZD,LENGTH=8)
PLZ EXPLAIN THE ABOVE OUTREC STATEMENT CLEARLY.
OUTREC FIELDS =(21,5,ZD,TO=PD,X,8,4,ZD,FI,LENGTH=2)
IN THE ABOVE OUTREC ,IAM NOT ABLE TO UNDERSTAND 8,4,ZD,FI ,IS IT
CONVERTING 9 TO 12 BYTES INTO FIXED POINT FROM BINARY?
PLZ CLEAR ME THESE DOUBTS.
regards,
sathish |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
| Quote: |
OUTREC FIELDS =(+1,PD,LENGTH=6,(-1),PD,LENGTH=6,-50,TO=ZD,LENGTH=8)
PLZ EXPLAIN THE ABOVE OUTREC STATEMENT CLEARLY. |
+1,PD,LENGTH=6 - creates a 6-byte PD output field with a value of P'+1'.
(-1),PD,LENGTH=6 - creates a 6-byte PD output field with a value of P'-1'.
-50,TO=ZD,LENGTH=8 - creates an 8-byte ZD output field with a value of Z'-50'
| Quote: |
OUTREC FIELDS =(21,5,ZD,TO=PD,X,8,4,ZD,FI,LENGTH=2)
IN THE ABOVE OUTREC ,IAM NOT ABLE TO UNDERSTAND 8,4,ZD,FI ,IS IT
CONVERTING 9 TO 12 BYTES INTO FIXED POINT FROM BINARY? |
8,4,ZD,FI - converts a 4-byte ZD input field starting in position 8 to a 2-byte FI output field. FI is fixed-point (signed).
I won't have access to the internet for a few days, so I can't explain further right now. |
|
| Back to top |
|
 |
sathish_rathinam
New User
.jpg)
Joined: 22 Aug 2005 Posts: 59 Location: india
|
|
|
|
hi frank,
thank u very much for clarifying my doubt.
regards,
sathish |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|