Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to create or replace a member in TSO/ISPF?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Mon Jul 07, 2008 4:33 pm    Post subject: Reply to: How to create or replace a member in TSO/ISPF?
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

Site Director


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

PostPosted: Mon Jul 07, 2008 8:18 pm    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Jul 08, 2008 10:27 am    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Tue Jul 08, 2008 10:28 am    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Jul 08, 2008 10:54 am    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Tue Jul 08, 2008 4:01 pm    Post subject: Reply to: How to create or replace a member in TSO/ISPF?
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    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 10, 2008 9:33 pm    Post subject: Reply to: How to create or replace a member in TSO/ISPF?
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us