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

COBOL PREPROCESSOR SORT


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
navhin

New User


Joined: 26 Mar 2007
Posts: 5
Location: india

PostPosted: Tue Aug 10, 2010 8:47 pm
Reply with quote

Hi,

I was looking into a COBOL program where the only statements in the procedure division apart from inits were

Code:
PREPROCESSOR SORT
10A



The program sorts the input and sends it to the output.

Please tell me how this works or direct me to some manual on the preprocessor statement?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 10, 2010 9:18 pm
Reply with quote

Hello,

Are you sure this is a cobol probram?

Does it currently compile and run successfully?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Aug 11, 2010 8:56 pm
Reply with quote

I found some hint on this in MF COBOL.
Quote:
B.1.1.12 Integrated Preprocessor Support
Integrated Preprocessor Support is an extension to the Compiler. It enables the Compiler to invoke a user-defined language processor to convert non-COBOL syntax to COBOL syntax. When debugging, you see the original source, as it is before statements are altered by the preprocessor


Hope this helps.
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 -> COBOL Programming

 


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 Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top