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
 

 

Trim leading spaces using syncsort

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

New User


Joined: 28 Sep 2005
Posts: 7

PostPosted: Wed Apr 05, 2006 3:31 pm    Post subject: Trim leading spaces using syncsort
Reply with quote

Hi,

Is it possible to trim leading spaces using syncsort??

I have the following sort statements. I need to trim the leading spaces before writing the sorted records into the output file.

SORT FIELDS=(34,4,CH,A)
OUTREC FIELDS=(34,4)


Pl help icon_sad.gif

Thanks in advance!

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

balusengodan

New User


Joined: 01 Mar 2005
Posts: 15
Location: chennai

PostPosted: Mon Apr 10, 2006 7:12 pm    Post subject:
Reply with quote

hi

i cannot get u clearly as u said that u want to trim the leading spaces ok
i need one informatiion that whether the spaces are present in which location of the record
for example if it presents in the first 5 place of the record in this case we can reformat the record before writing by using outrec option in sort utility

if i am wrong please correct me
by sending mail to me
thanks
balu.s
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 Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 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


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