how to obtain it



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

Re: how to obtain it

Postby NicC » Tue Jan 28, 2014 7:25 pm

Fill the remainder of your record with blanks. The dots, as you should know, represent un-displayable characters. If you turn hex on you will see the actual values.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: how to obtain it

Postby BillyBoyo » Tue Jan 28, 2014 7:39 pm

The dots are not dots, they are just how the system shows you non-displayable characters. They are probably binary-zeros.

If you add ,80:X to your BUILD, an X (which is a blank) is placed in column 80. Any intervening colums which have to be created between your data and column 80 will be space-padded.

For you requirement:

//CTRCLCD1 EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
 OPTION COPY
 INREC BUILD=(1,16,SQZ=(SHIFT=LEFT,
                        LEAD=C'ACTION=LIST,RESOURCE=ADCOM,ADID=',
                        TRAIL=C',STATUS=A;',
                        LENGTH=80))
                                                                 
//SORTIN   DD *
AACADPQ
AACBODQ
AACBOEQ
FGFTUJYHTRR
AACCHEQ
AACDCLQ
VVVVVFGG
AACEFFQ
AACGRFQ
FTJOUR06H00RT


Don't just use it, you need to understand it. So do some research, then tell us what it does.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: how to obtain it

Postby dgmf » Wed Jan 29, 2014 9:49 am

is there an other way to avoid dots... Because the porgramm i use need a DCB with FB et LENGHT=80

Yes..

you can add spaces at last
i.e after last ; you can fill with spaces by giving C' '
dgmf
 
Posts: 7
Joined: Tue Jan 21, 2014 4:18 pm
Location: Bangalore,India
Has thanked: 0 time
Been thanked: 0 time

Re: how to obtain it

Postby samb01 » Wed Jan 29, 2014 1:14 pm

OK, dgmf.

Thank's.
samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Previous

Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post