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

how to plit data from one fille to many files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rameshreddy

New User


Joined: 25 Mar 2010
Posts: 2
Location: mysore

PostPosted: Tue Apr 13, 2010 3:26 pm
Reply with quote

Hi!
if i/p file record repeat one time .it send to one o/p file
if i/p file record repeat two times .it send to one o/p file
if i/p file record repeat three times .it send to one o/p file
this is my requirement
plz write complete code
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Apr 13, 2010 3:44 pm
Reply with quote

rameshreddy wrote:
Hi!
if i/p file record repeat one time .it send to one o/p file
if i/p file record repeat two times .it send to one o/p file
if i/p file record repeat three times .it send to one o/p file
this is my requirement
plz write complete code

Are you being serious here ? Where is the code that YOU have tried so far

Your description of the task is totally lacking in anything resembling useful information, and you then expect someone to do YOUR work for you.

The sooner that you learn that this is a HELP forum and NOT a DO IT FOR ME forum the better.

Quote:
plz write complete code
Sure I will, only it's 800 euro per day or part thereof. Coding starts on receipt of payment.


I suggest that you CLICK HERE to find out the right way to ask your questions in future.
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 Apr 13, 2010 3:48 pm
Reply with quote

rameshreddy wrote:
if i/p file record repeat one time .it send to one o/p file
if i/p file record repeat two times .it send to one o/p file
if i/p file record repeat three times .it send to one o/p file
If an i/p record occurs two times;
Send one record to an o/p file and discard the other?
Send all repeated records to an o/p file?
The maximum number of dups is three?
If the entire record matches or just a portion/key part of the record matches?
What is the recfm & recl?
What sort product are you using?
What release/level is that sort at?
If you are not sure of the release/level of your sort, run this and post the informational output including all message id's:
Code:
//SORTSTEP EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTIN   DD *
ABC
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
  SORT     FIELDS=COPY

Quote:
this is my requirement
Since your requirement is incomplete, please answer the above questions.
Quote:
plz write complete code
Please issue to me a PO number....grin....
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Apr 14, 2010 12:48 am
Reply with quote

CICS Guy, lots of good questions, I won't hold my breath for answers.

Expat, the economy here in the USA is pretty bad right now.

Sorry to under bid you, but I can offer rameshreddy the bargin price of 500 USD per day.
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 Apr 14, 2010 1:22 am
Reply with quote

Oh great - a bidding war. . . icon_smile.gif

Quote:
this is my requirement
plz write complete code


With the lack of details i hope no one offers a "fixed price" bid. One thing is the $ per day - another is how many days may be billed. . .

Ramesh - welcome to the forum, but for someone to help, you need to post replies to the questions about your requirement. Keep in mind that you completely understand what you want t implement, but no one here knows until you provide the info. . .
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 -> JCL & VSAM

 


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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top