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
 

 

SYNCSORT Question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vishal.iitr2003
Currently Banned

New User


Joined: 25 Jan 2008
Posts: 18
Location: India

PostPosted: Tue Mar 25, 2008 5:14 pm    Post subject: SYNCSORT Question
Reply with quote

I have input records like

aaaa1111aaaa1111
bbbb1111bbbb1111
cccc1111 1111
1111aaaa1111
aaaa1111aaaa1111
bbbb2323aaaa1111

Using file aid datasoln I am masking 1-4 bytes and 9-13 bytes n getting an output like below
xxxx1111xxxx1111
yyyy1111yyyy1111
zzzz1111kkkk1111
kkkk1111xxxx1111
xxxx1111xxxx1111
bbbb2323xxxx1111


i.e my problem is it is also masking empty spaces to some value which is not desired.
so what i planned to was that i will first do the masking process as it is going and after getting the masked i.e output file i will just check which sensitive position in the input file is having spaces and directly i'll put spaces in masked file as well at only those positions. Rest of the data in output file should remain unchanged.

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

vishal.iitr2003
Currently Banned

New User


Joined: 25 Jan 2008
Posts: 18
Location: India

PostPosted: Tue Mar 25, 2008 5:16 pm    Post subject:
Reply with quote

in input 3rd column contains 4 spaces after the 4 1s
n 4th column has four spaces in the begiining of the record
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 182
Location: hyderabad

PostPosted: Tue Mar 25, 2008 6:45 pm    Post subject:
Reply with quote

Hi Vishal,
Please see the below LINK.You can modify the same JCL to make it useful for your requirement.




http://www.ibmmainframes.com/viewtopic.php?t=29333


Please let us know if you need any further help.

Thanks
Krishy
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 SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 5 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am


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