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
 

 

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: 8593
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: 2238
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm


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