IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create or replace a member in TSO/ISPF?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Mon Jul 07, 2008 4:32 pm
Reply with quote

How to create or replace a member in TSO/ISPF?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jul 07, 2008 4:33 pm
Reply with quote

PF1 is Your friend, and also the manuals

read the documentation for the edit commands REPLACE and CREATE
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 07, 2008 8:18 pm
Reply with quote

Hello,

You might also spend some time in the online tutorial (which is available via PF1 from the ispf primary option menu).
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Jul 08, 2008 10:18 am
Reply with quote

hi dick,

for creating - cre .zf .zl (memname)
for replacing - repl .zf .zl (memname) ........ inside any library member will create or replace a member ...... i want to know is there any other way to create a member and replace from command line........?

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jul 08, 2008 10:27 am
Reply with quote

Yes, you can use ISPF services (LMMADD/LMMREP) for that.

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

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Jul 08, 2008 10:28 am
Reply with quote

Jai,
how about edit(member) to create anempty member???
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Jul 08, 2008 10:52 am
Reply with quote

hi ofer,
can u please elaborate on that ...... ? i dont know about those commands.......


hi murali,
i was just asking if there are any commands that we can give in the command line directly .......

edit(pdsname) will create an empty member ....... but i am just asking about the commands that we can give directly in the command line that will create empty member or replace a member ........


thanks,
mari
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jul 08, 2008 10:54 am
Reply with quote

These are not commands, but ISPF services. You can use ISPF services from within REXX, for example, and invoke the REXX as a command.

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

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Jul 08, 2008 11:04 am
Reply with quote

thanks ofer,
i need to know is there any other ispf commands to create and replace member .......... other than cre and repl .........

i found one for creating member ....... sel (newmemname) in the command line inside a library that was opened in edit mode will create a new member .......

thanks,
mari
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 08, 2008 4:01 pm
Reply with quote

what particular requirement do You have that
You not satisfied with the available options ( replace, create) ??
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Thu Jul 10, 2008 9:17 am
Reply with quote

hi enrico,
i just wanted to know if any other options are available? just a curiosity icon_smile.gif ......

thanks,
mari.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jul 10, 2008 6:15 pm
Reply with quote

I guess you can "s newmem" from the cmd line, then "copy oldmem".

or "cut append" data from oldmem(s), then s newmem & "paste".

There are probably others -- stay tuned.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Jul 10, 2008 9:33 pm
Reply with quote

This is the ISPF forum... but you can do things outside of ISPF.

From rexx you can use the ALLOCATE command and EXECIO to write records.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts How to create a list of SAR jobs with... CA Products 3
Search our Forums:

Back to Top