IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Not able to understand ZD & FI in OUTREC statement


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Thu Oct 20, 2005 3:12 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Oct 20, 2005 7:44 pm
Reply with quote

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
View user's profile Send private message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Fri Oct 21, 2005 9:22 am
Reply with quote

hi frank,

thank u very much for clarifying my doubt.

regards,
sathish
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts Try to understand IMS control block IMS DB/DC 0
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
Search our Forums:

Back to Top