View previous topic :: View next topic |
Author |
Message |
venu Beginner
Joined: 11 Nov 2005 Posts: 6 Topics: 4
|
Posted: Fri Nov 11, 2005 7:29 am Post subject: Copying first 5 records from a PS to another PS |
|
|
I have a Problem in copying the first 5 records from a PS to another PS.
The Situation that exists here is as follows:-
a) Existing PS is a variable length dataset
b) No Access to any tools
c) Cannot write sort steps to submit a JCL because of restricted access
d) some records run a few lines and some records are a single line.so not able to identify where the records start and where it ends.
e) Since there are 92,323 records the PS is not opening in Edit mode even when i try to open it ..it is Browse substituted
i'm looking forward for a direction |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Fri Nov 11, 2005 7:35 am Post subject: |
|
|
Venu,
Code: |
b) No Access to any tools
|
Really ??? Can't you use any tool like FILE-AID / Easytrieve / IBM Utilities - IEBPTPCH ?
Code: |
d) some records run a few lines and some records are a single line.so not able to identify where the records start and where it ends.
|
Are you talking about Variable Spanned file ??? A record in a Normal VB file does not span over a line.
Thanks,
Phantom |
|
Back to top |
|
|
venu Beginner
Joined: 11 Nov 2005 Posts: 6 Topics: 4
|
Posted: Fri Nov 11, 2005 8:06 am Post subject: |
|
|
b) Yes I do not have access to any tools . I have only read access to the source PDS and PS and no access to any tools because the Service provider is a third party.I have to simulate those in third party MF env to my Environment
d) Yes |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Fri Nov 11, 2005 8:14 am Post subject: |
|
|
Can't you even run a step using IDCAMS? if that is the case then you can try this approach.
Alllocate a dataset under your id with just 1 track as space. Now using 3.3 copy the source dataset to your t-id. it will fail as you run out of space. But it will copy some of the records to your id. I would hope it will be more than 5.
Now edit this dataset to get your desired records.
Hope this helps...
Cheers
Kolusu _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
venu Beginner
Joined: 11 Nov 2005 Posts: 6 Topics: 4
|
Posted: Sat Nov 12, 2005 1:46 am Post subject: |
|
|
Yes it works .thanks a lot ... |
|
Back to top |
|
|
|
|