View previous topic :: View next topic
|
Author |
Message |
rashmi123
New User
Joined: 04 Jun 2007 Posts: 25 Location: Pune
|
|
|
|
Hi,
I want to copy a member from PDS having following allocations:
Organization . . . PO
Record format . . . :U
Record length . . . :80
Block size . . . . :8000
1st extent cylinders:24
Secondary cylinders :5
Data set name type :PDS
to another PDS having following allocations:
Organization . . . PO
Record format . . . :FB
Record length . . . :80
Block size . . . . :8000
1st extent cylinders:30
Secondary cylinders :5
Data set name type :PDS
How can this be achieved?
I have tried simple copy using ISPF option 3.3 but it is not working. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You need to post what "is not working". We can't see your terminal and we cannot read your mind.
Post what you keyed on which screen and what the system returned. Then maybe, we can help. |
|
Back to top |
|
|
rashmi123
New User
Joined: 04 Jun 2007 Posts: 25 Location: Pune
|
|
|
|
I tried to copy member from PDS say A.B.C to say X.Y.Z.
The allocation parameters of PDS A.B.C and X.Y.Z I have already mentioned.
While trying to copy member say PQR from A.B.C to X.Y.Z I used ISPF option 3.3 it asks whether the allocation options:
_ 1.Allocate using the attributes of A.B.C
2.Specify allocation attributes
I chose option 2 and gave the allocation parameters of X.Y.Z.
It throws the error:
"Input/output mismatch" |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
unless there a typo in Your original post
You are not allowed to copy between "U" to a "FB" record format
regards
e.s. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Enrico - good catch - i didn't read closely enough
Rashmi - when you get the screen asking for attributes, this is a signal that your copy is in trouble. To copy a member from one pds to another (existing) pds, they need to have similar definitions.
If your copy is to create the new pds, then you may use the existing atributes or specify new ones. |
|
Back to top |
|
|
rashmi123
New User
Joined: 04 Jun 2007 Posts: 25 Location: Pune
|
|
|
|
All the member in my pds A.B.C(which is a jcllib) have got converted to 8000-byte length records. I was trying to copy them to a PDS with length 80 so that I could submit the JCL.
Is there any other way how this can be accomplished? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
OK :-) somebody fouled up...
first take a backup copy of Your corrupted PDS
after You can run this step to fix the DCB
Code: |
//IEB EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD *
USELESS DATA
//SYSUT2 DD DISP=SHR,DSN=your-dsname(DUMMY),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000)
|
it should fix Your dcb and make readable the members that were there before the dcb change
regards
e.s |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Possibly someone compiled a program and pointed to this jcllib for the output of the link edit. . . . I'd suggest looking for the bad jcl that caused the problem.
I'll probably repeat this many, many more times. . . .
DO NOT create compile jcl for individuals! Everyone should use standard JCL because of situations just like this. It is very often that the person who causes the problem is not the one who must somehow recover from it. . . |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
Back to top |
|
|
|