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 anyone explain me how to sort using PL1.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
saubhik

New User


Joined: 21 Sep 2007
Posts: 35
Location: kolkata

PostPosted: Wed Jul 23, 2008 10:17 pm    Post subject: Can anyone explain me how to sort using PL1.
Reply with quote

Can anyone explain me how to sort using PL1.
Back to top
View user's profile Send private message

ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Wed Jul 23, 2008 10:27 pm    Post subject:
Reply with quote

Sort what ?
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Thu Jul 24, 2008 12:37 am    Post subject:
Reply with quote

Check on top IBM Manuals in manual PL/I Programming Guide
Quote:
4.1 Chapter 12. Using the Sort program


Easy

Cheers
Pierre
Back to top
View user's profile Send private message
arivazhagan_k

New User


Joined: 05 Dec 2007
Posts: 57
Location: chennai

PostPosted: Tue Jul 29, 2008 7:40 pm    Post subject:
Reply with quote

In real time we won't go for PL1 wise sort Since there are lot of power full sort utillities there(Syncsort,Ibmsort....).
If you want explicitly sort in PL1 use array and try your own logic to sort them based on your requirement.
Back to top
View user's profile Send private message
saubhik

New User


Joined: 21 Sep 2007
Posts: 35
Location: kolkata

PostPosted: Tue Jul 29, 2008 10:28 pm    Post subject: Reply to: Can anyone explain me how to sort using PL1.
Reply with quote

I want to use cobol like sort in PL1.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Tue Jul 29, 2008 10:50 pm    Post subject:
Reply with quote

Since PL/1 is not COBOL, why on earth would you even THINK you can use a COBOL-like sort in PL/1? Read the manual and use the PL/1 sort.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Jul 29, 2008 10:59 pm    Post subject:
Reply with quote

The sort you use in COBOL with the sort verb is system default sort package, I would think the same would be true for PL/1.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Jul 29, 2008 11:03 pm    Post subject: Reply to: Can anyone explain me how to sort using PL1.
Reply with quote

better than anybody else, chapter 12 of the Enterprise PL/I Programming Guide
will explain it to You

IBM manuals link at the top of the page
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Tue Jul 29, 2008 11:19 pm    Post subject:
Reply with quote

( desesperate !!!! ) as already said 5 days ago icon_sad.gif icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Jul 29, 2008 11:23 pm    Post subject: Reply to: Can anyone explain me how to sort using PL1.
Reply with quote

sorry Pierre, for Intellectual Property stealing icon_biggrin.gif

Repetita Juvant, even if sometimes I doubt....
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Wed Jul 30, 2008 2:22 pm    Post subject:
Reply with quote

Hi Enrico,

I like to read that just in the middle of my holidays deep inside the Pyrenees between France and Spain.

Keep going

Cheers
Pierre
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Jul 30, 2008 2:27 pm    Post subject: Reply to: Can anyone explain me how to sort using PL1.
Reply with quote

Hi Pierre,

same for me here in Chamonix,

have a good time

enrico
resting sore feets after mountain hiking and climbing
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 30, 2008 2:45 pm    Post subject:
Reply with quote

Just to let you guys know, at least one of us is stuck in a hot sunny office icon_cry.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Jul 30, 2008 2:58 pm    Post subject: Reply to: Can anyone explain me how to sort using PL1.
Reply with quote

Quote:
at least one of us is stuck in a hot sunny office


Hi expat,

air conditioning working, at least ?
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 -> PL/I & Assembler 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 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
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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