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
 
How do add a specific string in the new line by default.

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

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 21, 2006 4:58 pm    Post subject: How do add a specific string in the new line by default.
Reply with quote

Hi,
i am writing a JCL.
By default i need to have // in the 1-2 coloums in the member.

I remember a command where we can specify the string to repeat...but could n't recollect it.

Could anyone help me out?

~Vamsi
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Aug 21, 2006 6:10 pm    Post subject:
Reply with quote

2 options:
1. Use the MASK command.
2. Use copy ('C') and override('O').

O.
Back to top
View user's profile Send private message
Archana_MF

New User


Joined: 21 Jul 2006
Posts: 49
Location: California

PostPosted: Tue Aug 22, 2006 12:01 am    Post subject:
Reply with quote

Try this:
On the command line within the member type
c 1 2 '@@' '//' all

c - Change
1 2 - start-end of the coulmn
'@@' - For ur member give Spaces instead of @
'//' - replace string
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Aug 22, 2006 11:41 am    Post subject:
Reply with quote

hi Archana,

c 1 2 '@@' '//' all wasn't working.
May be......what you mean was
C 1 2 P'@' '//'

Am i write?? I wan '//' get inserted automatically when ever i write a new line. But the command will only after i completed the code.

Thanks
~Vamsi
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Aug 22, 2006 12:20 pm    Post subject:
Reply with quote

Have you read my comment about MASK?

O.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Aug 22, 2006 12:45 pm    Post subject:
Reply with quote

Hi ofer71,

I got about MASK.

Thanks,
~Vamsi
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts How to insert a value on specific pos... Poha Eater DFSORT/ICETOOL 9 Sun Oct 01, 2017 3:04 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

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