Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Not able to understand ZD & FI in OUTREC statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Not able to understand ZD & FI in OUTREC statement
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 Moderator


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

PostPosted: Thu Oct 20, 2005 7:44 pm    Post subject:
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    Post subject: Re: some clarifications in dfsort .
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm
No new posts Need to understand TCB CPU and SRB CPU gandikk Testing & Performance analysis 11 Mon Mar 20, 2017 9:32 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us