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
 

 

[Solved]How to copy the lines of data from one member to another mem

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

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Wed Jul 06, 2005 2:23 am    Post subject: How to copy the lines of data from one member to another mem
Reply with quote

How to copy the lines of data from one member to another member. They are in different PDS's.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Jul 06, 2005 2:33 am    Post subject: Re: ispf
Reply with quote

Presuming that PDSA member A is the target, and PDSB member B is the source:

Option 1. Edit 'PDSA(A)'. On the command line, enter COPY 'PDSB(B)' to copy the entire contents of PDSB member B into PDSA member A.

Option 2. Edit 'PDSB(B)' and select the lines to copy with C or CC line commands. On the command line, enter CUT. Edit 'PDSA(A)' and type PASTE on the command line, then move the cursor to where you wish to insert the data, and enter A on that line.

Option 3. Use ISPF 3.3 (Copy) to copy from 'PDSB(B)' to 'PDSA(A)'.

Option 4. Edit 'PDSA(A)'. On the command line, enter COPY. Press Enter. Enter 'PDSB(B)' where prompted and press Enter.
Back to top
View user's profile Send private message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Wed Jul 06, 2005 2:46 am    Post subject: Re: ispf
Reply with quote

Hi Thank You.
Back to top
View user's profile Send private message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Fri Jul 29, 2005 3:20 pm    Post subject: SOC7 Error
Reply with quote

Hi Friends,
I want to find the offset where SOC7 Error occured in a lengthy program.
can any one of you send the related document with ex. of snapshots Please.

REASON FOR WARNING: I HAVE TO START A NEW TOPIC FOR THIS QUERY
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 182
Location: hyderabad

PostPosted: Tue Sep 06, 2005 12:31 am    Post subject:
Reply with quote

Here is the another solution for your first question.

Goto the member in edit mode and use the C (for a single line) or CC&CC for multiple lines for selection and keep the cursor in the command prompt use CUT NV,The lines will come and sit in NV (it's like CLIP BOARD).Then go to the target MEMBER and use PASTE NV(note that u need to point the cusor to appropriate position).

U can CUT and keep the lines in diffrent names.(Like NV or AB or CD etc..).I tried this to have the MAX of 4.I haven't tried the maximum number of names.

Thanks
Krishy
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Tue Sep 06, 2005 10:12 am    Post subject:
Reply with quote

Krishy,

Quote:
Goto the member in edit mode and use the C (for a single line) or CC&CC for multiple lines for selection


Its safe to cut the number of lines in View mode (and paste it in edit mode).
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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am


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