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

sorting a numeric data


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Tue Jul 06, 2010 7:01 pm
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: 8797
Location: Welsh Wales

PostPosted: Tue Jul 06, 2010 7:03 pm
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: 496
Location: USA

PostPosted: Tue Jul 06, 2010 8:55 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Jul 07, 2010 7:13 pm
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 Developer


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

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

sumit_mainframe123,

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top