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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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