Removing SPACES from VB file.

JES2/3, JCL, utilities.
Post Reply
LearnMainframe
Registered Member
Posts: 26
Joined: Fri Jul 05, 2013 11:52 am

Removing SPACES from VB file.

Post by LearnMainframe »

Hi,

I have a VB file as input. In this file I need to strip off the spaces at the end of each record. Is there a way to do it and can anyone please suggest how to do it? Thank you.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1896
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Removing SPACES from VB file.

Post by Robert Sample »

First, how do you know that there are spaces at the end of each record?

Second, the easiest -- and best -- way to do this is to modify the program(s) generating the records to not add spaces to the end of the record.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”