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 anyoune Please tell me the meaning of the statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Moumita Paul

New User


Joined: 10 Mar 2011
Posts: 2
Location: India

PostPosted: Thu Mar 10, 2011 12:59 pm    Post subject: Can anyoune Please tell me the meaning of the statement
Reply with quote

INCLUDE COND=(2,3,CH,EQ,C'002')
SORT FIELDS=(2,15,CH,A)
OUTREC FIELDS=(2,3,4:C'16',5,42,33X)"
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Mar 10, 2011 1:04 pm    Post subject: Reply to: Can anyoune Please tell me the meaning of the stat
Reply with quote

the manuals of the sort product installed in your organization will tell all

the statements are simple enough that You can find out Yourself

to save You some of Your precious time here is a link to the DFSORT manuals
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ice1sh50

even if DFSORT is not the product used in Your organization
the three statements You asked about have the same syntax and meaning in all the <sort> products
Back to top
View user's profile Send private message
Moumita Paul

New User


Joined: 10 Mar 2011
Posts: 2
Location: India

PostPosted: Thu Mar 10, 2011 2:35 pm    Post subject: Please Confirm me
Reply with quote

Hi enrico,

Please tell me if I am in the right way...

The syntax implies that..

It will sort the input file in ascending order from column 2 to 16 where the alphanumeric value of the input records starting from column 2 to column 4 is '002'

In the output file it will contain the records from column 2 to 4 of the input file and next to it 16 will be appended and again it will contain value from column 5 till 46 and then it will have 33 blankspace....???
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: Thu Mar 10, 2011 2:43 pm    Post subject:
Reply with quote

What were the results after you tried this
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Mar 10, 2011 4:06 pm    Post subject: Re: Please Confirm me
Reply with quote

Moumita Paul wrote:
It will sort the input file in ascending order from column 2 to 16 where the alphanumeric value of the input records starting from column 2 to column 4 is '002'

In the output file it will contain the records from column 2 to 4 of the input file and next to it 16 will be appended and again it will contain value from column 5 till 46 and then it will have 33 blankspace....???
Yes, this sounds correct. Do you see any differences in your experiments?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


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