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
 

 

sorting a numeric data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
sumit_mainframe123

New User


Joined: 06 Jul 2010
Posts: 4
Location: pune

PostPosted: Tue Jul 06, 2010 6:58 pm    Post subject: sorting a numeric data
Reply with quote

Hi all,

Can anybody please tell me how to replace a numeric data by using dfsort,
i am using sort fields=copy, followed by the INREC and OVERLAY.
But i am not sure about the syntax.

Thanks in advance.


Thanks
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Tue Jul 06, 2010 7:01 pm    Post subject:
Reply with quote

I'm not sure of the syntax either, since I have no idea of what you are trying to do.

How about an example?
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: Tue Jul 06, 2010 7:03 pm    Post subject:
Reply with quote

Because the solution for sort related questions may vary from product to product, please ensure that you state clearly which sort product you are using. Although you say DFSORT, confirmation would be better.

If you are not sure, then by running a simple sort step shown below, you will be able to find out for yourself.

If the messages start with ICE then your product is DFSORT and the topic will be moved to the DFSORT forum by one of the moderators. Please also post the output of the complete line which has a message code ICE201I, as this will enable our DFSORT experts to determine which release of DFSORT that you have installed. This may also affect the solution offered.

If the messages start with WER or SYT then the product is SYNCSORT and the topic will remain in the JCL forum. Please also post the information telling which version of SYNCSORT is installed, as this may also affect the solution offered.

Thank you for taking your time to ensure that the valuable time of others is not wasted by offering inappropriate solutions which are not relevant due to the sort product being used and/or the release that is installed in your site.

Code:
//SORTSTEP EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTIN   DD *
ABC
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
  SORT     FIELDS=COPY


You also need to provide more detail than you already have.
RECFM & LRECL of any input and output files.
Positions length and format of any key / action fields.
Rules for getting from input to output.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 500
Location: USA

PostPosted: Tue Jul 06, 2010 8:55 pm    Post subject:
Reply with quote

Sumit,

If you show us what you have already tried, along with any errors you received, we may be able to better assist you.

Regards,
Back to top
View user's profile Send private message
sumit_mainframe123

New User


Joined: 06 Jul 2010
Posts: 4
Location: pune

PostPosted: Wed Jul 07, 2010 10:25 am    Post subject: Reply to: sorting a numeric data
Reply with quote

I am sorry becoz i don't know about the product i was using, now i know that the product is DFSORT, bocoz the message contains ICE and not WER or SYT.

So i am now moving my question to DFSORT group.

Thanks alot!!!
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Wed Jul 07, 2010 7:13 pm    Post subject:
Reply with quote

Hello,

Quote:
So i am now moving my question to DFSORT group.
Who will also need you to explain what you are trying to do. . .

Show some input data and the output you want from this input.

Mention the lrecl and dsorg of the files.

Post any "rules" for getting form the input to the output.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Jul 07, 2010 10:06 pm    Post subject:
Reply with quote

sumit_mainframe123,

I'm guessing this is a duplicate of your other question here:

http://ibmmainframes.com/viewtopic.php?t=49911

If so, it has already been answered.

If it's a different question, then you need to explain more clearly what you're trying to do exactly.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


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