View previous topic :: View next topic
|
Author |
Message |
kanitha
New User
Joined: 23 Nov 2022 Posts: 3 Location: india
|
|
|
|
Hi I have a requirement to convert SMALLINT (data in DB2 table) to displayable data using SORT. What is the datatype to be coded in OUTREC for SMALL INT.Please help.[/Search] |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2140 Location: USA
|
|
|
|
Code: |
//SYMNAMES DD *
Small_Int_Field,x,2,BI
. . . . .
//SYSIN DD *
. . . . . . . .
. . . . BUILD=(...,Small_Int_Field,EDIT=(III,IIT),...),
. . . .
//*
|
|
|
Back to top |
|
|
kanitha
New User
Joined: 23 Nov 2022 Posts: 3 Location: india
|
|
|
|
It worked, thanks
[/img] |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2140 Location: USA
|
|
|
|
kanitha wrote: |
It worked, thanks |
This is described in details on several first pages of any SORT manual.
Did you ever try reading one? |
|
Back to top |
|
|
|