How to convert ZD to PD signed



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

How to convert ZD to PD signed

Postby SMain » Fri Feb 17, 2012 2:38 pm

Hi,

I a ZD number which needs to be converted into PD but should have 'C' instead of 'F' in the last nibble .
Basically I have to join the above number with a packed signed number .
SMain
 
Posts: 7
Joined: Tue Jan 31, 2012 2:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to convert ZD to PD signed

Postby skolusu » Fri Feb 17, 2012 10:41 pm

Smain,

Use the following control cards
//SYSIN    DD *                               
  SORT FIELDS=COPY                           
  INREC OVERLAY=(P1:P,M,ZD,PDC,LENGTH=n)     
//*                                           
//* P1 = Position of the output PD field
//* P  = Position of the INPUT ZD field   
//* M  = Length of INPUT ZD field     
//* n  = Length of OUTPUT PD field 
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
skolusu
 
Posts: 586
Joined: Wed Apr 02, 2008 10:38 pm
Has thanked: 0 time
Been thanked: 39 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post