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
 
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: 10327
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 WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm
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

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