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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Wed Jul 06, 2005 2:33 am
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
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
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: 183
Location: hyderabad

PostPosted: Tue Sep 06, 2005 12:31 am
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: 435
Location: chennai, India

PostPosted: Tue Sep 06, 2005 10:12 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top