IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can I use packed decimal integer as a part of sort key


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chanchal_tirpude

New User


Joined: 23 Jun 2005
Posts: 5

PostPosted: Thu Sep 15, 2005 10:20 am
Reply with quote

Hi Everybody,

I have one mainprogram calling lots of subprograms.I want to sort all the information based on the key which contains a major and minor parts.But I want to use one field of the minor key as a packed decimal integer of S9(03) comp-3 .Is there any problem if I use like that???
Could you anyone please clarify my doubt....

Thanks in advance,
Kran.
Back to top
View user's profile Send private message
deepak.venkataraman

New User


Joined: 07 Sep 2005
Posts: 8
Location: Bangalore

PostPosted: Thu Sep 15, 2005 10:31 am
Reply with quote

Yes Of course u can use........
Back to top
View user's profile Send private message
leo_sangha

New User


Joined: 11 Aug 2005
Posts: 85
Location: England

PostPosted: Thu Sep 15, 2005 2:48 pm
Reply with quote

Well of course you can Packed Decimal Fields in Sort Control Cards ...
But am not sure with your problem can you please elaborate it more ...

"I have one mainprogram calling lots of subprograms.I want to sort all the information based on the key which contains a major and minor parts.But I want to use one field of the minor key as a packed decimal integer of S9(03) comp-3 .Is there any problem if I use like that???
Could you anyone please clarify my doubt.... "

Is your keyfield defined as packed or you want to use it as packed for comparison purposes ? I dont get it properly .....

If you can paste here what you`ve done regarding this in the past then i might be able to help you better ....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top