Repeating a Column

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
User avatar
jaggz
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Skillset: JCL, VSAM,RACF,ACF2,MQ SERIES
Referer: inernet

Repeating a Column

Postby jaggz » Tue Aug 27, 2013 7:20 pm

Hello All,

I have a small clarification on repeating seperate character for a specific a length of a column

For example :

Code: Select all

MOUNT VOL=JAGGZ


Like the Vol JAGGZ i have around 600 volumes that needs a prefix of MOUNT VOL=. Is there a command through which I can accomplish ?

Any suggestions are highly appreciated.

Jaggz

User avatar
Akatsukami
Global moderator
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
Referer: ibmmainframes
Location: Bloomington, IL
Contact:

Re: Repeating a Column

Postby Akatsukami » Tue Aug 27, 2013 7:40 pm

There are several different ways of doing this with ISPF Edit. How can the volsers be identified (starting in a certain column, nth token in the line, delimited in a certain way, etc.)?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day

User avatar
jaggz
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Skillset: JCL, VSAM,RACF,ACF2,MQ SERIES
Referer: inernet

Re: Repeating a Column

Postby jaggz » Tue Aug 27, 2013 7:43 pm

Hello,

"How can the volsers be identified"

It is just a part of a control card. The Column numbers are standard so I am just looking for some way where I prefix MOUNT VOL= to all the 700 volsers which are in 12 column.

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

Re: Repeating a Column

Postby prino » Tue Aug 27, 2013 7:50 pm

BOUNDS, and the C(opy) and O(verlay) line commands are your friends.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

User avatar
jaggz
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Skillset: JCL, VSAM,RACF,ACF2,MQ SERIES
Referer: inernet

Re: Repeating a Column

Postby jaggz » Tue Aug 27, 2013 8:00 pm

Hello Prino,

Thanks a lot I followed up Copy and Overlay.

"http://billpriceweb.com/ispf.html" - Useful Link for the folks Who might be in needy situation.