View previous topic :: View next topic
|
Author |
Message |
sreelu.s
New User
Joined: 23 Jul 2010 Posts: 10 Location: hyderabad
|
|
|
|
I have to sort a file on a Numeric field PIC 9(09).
What should I use as the sort card ? for example the starting pos is 1 and the length is 9 .
Which one of the following is correct ?
Sort Fields = (1,9,ZD,A) or (1,5,PD,A) or (1,9,FS,A) ? |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
sreelu.s wrote: |
I have to sort a file on a Numeric field PIC 9(09).
What should I use as the sort card ? for example the starting pos is 1 and the length is 9 .
Which one of the following is correct ?
Sort Fields = (1,9,ZD,A) or (1,5,PD,A) or (1,9,FS,A) ? |
sreelu.s,
You would use ZD format. Check this link which explains DFSORT Formats for COBOL Data Types |
|
Back to top |
|
|
|