View previous topic :: View next topic
|
Author |
Message |
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
How to create or replace a member in TSO/ISPF? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
PF1 is Your friend, and also the manuals
read the documentation for the edit commands REPLACE and CREATE |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Yes, you can use ISPF services (LMMADD/LMMREP) for that.
O. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Jai,
how about edit(member) to create anempty member??? |
|
Back to top |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what particular requirement do You have that
You not satisfied with the available options ( replace, create) ?? |
|
Back to top |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
hi enrico,
i just wanted to know if any other options are available? just a curiosity ......
thanks,
mari. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
|