Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
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 SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 0 Thu Dec 14, 2017 8:13 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts JOINKEYS Paired and Unpaired Sort on ... MFwhiz DFSORT/ICETOOL 7 Tue Nov 07, 2017 2:46 am
No new posts Copying part of the report using SARBCH Aedulla CA Products 1 Tue Oct 24, 2017 9:24 am
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us