View previous topic :: View next topic
|
Author |
Message |
prashu
New User
Joined: 12 Jun 2005 Posts: 7 Location: hyderabad
|
|
|
|
HI ALL,
1.IS IT POSSIBLE TO DISPLAY THE COMP-3 VALUES?IF POSSIBLE HOW?
2.WHAT IS THE DIFFERENCE BETWEEN S322 & S522 ABENDS?
3.HOW TO WRITE THE QUERY TO GET THE N'TH MAXIMUM SALARY IN A TABLE?(WITH EXPLANATION) |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
|
|
Hi Prashu,
Please search our forum. The topics which you have mentioned has been discussed already.
Search under the concern section to get the exact information.
Hope this helps. |
|
Back to top |
|
|
Imran
New User
Joined: 26 Dec 2005 Posts: 12 Location: Pune
|
|
|
|
hi
No it is not possible to display comp-3 .
U define a temp variable. move comp-3 to this variable and then display this temp variable.
Regarding u r nexy question.
s322 - is time abend ; i,e job step ran for more than the stipulated time
sPECIFY TIME=1404
s522 - too many steps in the job or the job steps are in SVC wait.
Specify TIME=NOLIMIT |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Prashu,
You can DISPLAY a comp-3 value. The verb converts the data to diplay format. The problem is that the low order digit will not display as numeric if the field is a signed numeric and the sign position contains something other than an "F". But this is the samme when numeric display fields are DISPLAYed.
So, the lo-ord digit DISPLAYs as below:
For positive numbers (+):
0 {
1 A
2 B
3 C
4 D
5 E
6 F
7 G
8 H
9 I
For negative numbers (-):
0 {
1 J
2 K
3 L
4 M
5 N
6 O
7 P
8 Q
9 R
So a -1234 will DISPLAY as 123M a +1234 as 123D and an unsigned 1234 as 1234.
P.S. I may have the {} reversed. Did this from memory and at my age... |
|
Back to top |
|
|
|