Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Can I use packed decimal integer as a part of sort key
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    Post subject: Re: Can I use packed decimal integer as a part of sort key
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    Post subject: Re: Can I use packed decimal integer as a part of sort key
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us