IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can anyone explain me how to sort using PL1.


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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
Reply with quote

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

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Thu Jul 24, 2008 12:37 am
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 29, 2008 10:50 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Jul 29, 2008 11:03 pm
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: 459
Location: Belgium

PostPosted: Tue Jul 29, 2008 11:19 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Jul 29, 2008 11:23 pm
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: 459
Location: Belgium

PostPosted: Wed Jul 30, 2008 2:22 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jul 30, 2008 2:27 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Jul 30, 2008 2:45 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jul 30, 2008 2:58 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top