Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Replace HEX values by using SNYCSORT

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

New User


Joined: 25 Jan 2010
Posts: 11
Location: Noida

PostPosted: Fri Jul 02, 2010 2:50 pm    Post subject: Replace HEX values by using SNYCSORT
Reply with quote

Hi All,

My file contains TAB (X'05') at a random position in a record. I want to replace it by ";" wherever TAB is present in record.

Can this be done using Sync Sort ? My mainframe environment does not have DFSORT utilities.

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

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Fri Jul 02, 2010 2:56 pm    Post subject:
Reply with quote

Well, if your site does not have DFSORT and instead has SYNCSORT, at least post your problem in the correct forum icon_evil.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2352
Location: @my desk

PostPosted: Fri Jul 02, 2010 3:22 pm    Post subject:
Reply with quote

Manojtyagi1979,

ALTSEQ might be of help. Search the forum for examples.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Jul 02, 2010 4:49 pm    Post subject:
Reply with quote

What version of SyncSort you are at? (i usually prefer FINDREP)
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:37 pm    Post subject:
Reply with quote

Hello Manoj.

If you have access to SyncSort for z/OS 1.3.2, then I would agree with Anuj. Here are sample control statements:
Code:

//SYSIN DD *                         
  SORT FIELDS=COPY                     
  OUTREC FINDREP=(INOUT=(X'05',C';')) 
/*       

Please let us know if you require any further assistance.

Regards,
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 LOW VALUES as a KEY juares castro DB2 10 Sat Apr 07, 2018 1:06 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts Replace last name by first name anatol DFSORT/ICETOOL 10 Thu Mar 15, 2018 3:43 pm
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts help to replace columns by rows Vikas Maharnawar DFSORT/ICETOOL 8 Tue Mar 06, 2018 3:27 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us