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 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 OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am

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