Hello,
i have the following:
FD Persons
Label records standard
Data record Persons-record
Value of file-id is "Persons.seq".
01 Persons-record.
03 P-Persnr pic 9 (04)
03 P-Persname x (21)
03 P-PersFirstn x (11)
03 P-Persstreet x (22)
03 P-City x (20)
03 P-Abnr 9 (07)
The above must be sorted by P-Persnr. Can anyone tell me how i can do this? i thought something like this i have to need, i saw this in an example.
SD Perssort
01 Perssort-record.
03 P-Persnr pic 9 (04)
03 P-Persname x (21)
03 P-PersFirstn x (11)
03 P-Persstreet x (22)
03 P-City x (20)
03 P-Abnr 9 (07)
But what is de code for sorting something like the Perons-record?
Yours Sincerely,
Remo
i have the following:
FD Persons
Label records standard
Data record Persons-record
Value of file-id is "Persons.seq".
01 Persons-record.
03 P-Persnr pic 9 (04)
03 P-Persname x (21)
03 P-PersFirstn x (11)
03 P-Persstreet x (22)
03 P-City x (20)
03 P-Abnr 9 (07)
The above must be sorted by P-Persnr. Can anyone tell me how i can do this? i thought something like this i have to need, i saw this in an example.
SD Perssort
01 Perssort-record.
03 P-Persnr pic 9 (04)
03 P-Persname x (21)
03 P-PersFirstn x (11)
03 P-Persstreet x (22)
03 P-City x (20)
03 P-Abnr 9 (07)
But what is de code for sorting something like the Perons-record?
Yours Sincerely,
Remo