MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use SPLICE to copy records side by side

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Thu Jun 10, 2010 8:26 am    Post subject: Use SPLICE to copy records side by side Reply with quote

Hi,

Input File - RECFM=FB, LRECL=80
Code:

080
090


I would like to write the two values from the above file to output side by side using SPLICE only like shown below:

Code:

080090


How to achieve it?

Thanks.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jun 10, 2010 10:38 am    Post subject: Reply with quote

ranga_subham,

Check the smart DFSORT trick "Combine multiple records into one record" here

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Thu Jun 10, 2010 10:56 am    Post subject: Reply with quote

Neutral
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
mickeygoo
Beginner


Joined: 15 Nov 2007
Posts: 26
Topics: 7

PostPosted: Fri Jun 11, 2010 8:55 am    Post subject: Reply with quote

ranga_subham wrote:
Neutral


Question
_________________
Not an expert, but I did stay at a Holiday Inn... though it has been a while...
Back to top
View user's profile Send private message
kanitha-mvs
Beginner


Joined: 17 May 2006
Posts: 26
Topics: 17

PostPosted: Thu Jun 17, 2010 7:25 am    Post subject: Reply with quote

Hi Kolusu,

PDF in this path is not accessible. Could you please just paste the "Combine multiple records into one record" trick here?

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


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Thu Jun 17, 2010 9:51 am    Post subject: Reply with quote

kanitha-mvs wrote:
PDF in this path is not accessible. Could you please just paste the "Combine multiple records into one record" trick here?
Yes it is - I've just opened it with no problems.

Cynical thoughts by poster now deleted.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jun 17, 2010 10:28 am    Post subject: Reply with quote

kanitha-mvs wrote:
Hi Kolusu,

PDF in this path is not accessible. Could you please just paste the "Combine multiple records into one record" trick here?

Thanks.


The pdf is on DFSORT FTP site. Looks like your shop has blocked the FTP access. Try downloading it from home.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu Jun 17, 2010 11:53 am    Post subject: Reply with quote

kanitha-mvs,

If you send me an e-mail offline (yaeger@us.ibm.com), I will send you the PDF. Put "Smart DFSORT Tricks" in your Subject line so I'll know what you want.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group