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
 
[Solved]what are input and output procedure for SORT?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ksannigeri

New User


Joined: 08 Apr 2005
Posts: 18

PostPosted: Mon Jul 11, 2005 4:47 pm    Post subject: what are input and output procedure for SORT?
Reply with quote

hI ALL,
CAN ANYONE TELL ME what are input and output procedure for SORT?

BYE
KIRAN
Back to top
View user's profile Send private message

parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Sun Jul 17, 2005 2:06 pm    Post subject: Re: what are input and output procedure for SORT?
Reply with quote

Input and output procedures for SORT verb are simply
user defined procedures (coded normally with para or sections) which are used in conjuction with SORT verb.

When used with SORT, input procedure will be run before the records are released for sorting. and output procedure will run after the sorting.

Much useful when you want to fileter out or process the record BEFORE or AFTER the sort.

Not to mention, external sort used in JCL is much faster and efficient ways to SORT data.


Please let me know if you require more clarification.
Back to top
View user's profile Send private message
ksannigeri

New User


Joined: 08 Apr 2005
Posts: 18

PostPosted: Tue Jul 19, 2005 11:59 am    Post subject:
Reply with quote

hi PARIKSHIT,

thank you for your reply.........

ok
bye
kiran
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Mon Aug 08, 2005 12:17 pm    Post subject:
Reply with quote

The INPUT PROCEDURE clause acts like a PERFORM, indicating the logic to go to a different paragraph (i.e. procedure).

If you just want to print specific sorted fields you would use an OUTPUT PROCEDURE

icon_lol.gif
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 Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 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 VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts JOINKEYS Paired and Unpaired Sort on ... MFwhiz DFSORT/ICETOOL 7 Tue Nov 07, 2017 2:46 am

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