View previous topic :: View next topic
|
Author |
Message |
Ashish Mohan Sharma
New User
Joined: 30 Sep 2008 Posts: 22 Location: Pune
|
|
|
|
When I copy a member from 1 dataset to another having same Lrecl but different Blocksize, the destination dataset members got corrupt. though destination blocksize has bigger blocksize.
Can anyone comment over it. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
More information is needed. My Carnac hat is in the shop.
What were the FROM and TO Blocksizes?
What's the LRECL?
What's the file-format; FB, VB?
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
And what are you using to do the copy -- program? utility? download to PC and upload to new file? |
|
Back to top |
|
|
Ashish Mohan Sharma
New User
Joined: 30 Sep 2008 Posts: 22 Location: Pune
|
|
|
|
I have copied the member using TSO/ISPF command C i.e. writing C infront of the member and copying it to the destination server.
FYI :
Lrecl is 80
Block size : 6160
but destination PDS blocksize is more i.e. 6400 |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
what does
Quote: |
copying it to the destination server.
|
mean ?
Copying it to a PDS with different blocksize should not corrupt the member.
Gerry |
|
Back to top |
|
|
Ashish Mohan Sharma
New User
Joined: 30 Sep 2008 Posts: 22 Location: Pune
|
|
|
|
Sorry it was a typo.. it has to be
copying it to the destination member.
It did corrupt many of my members. May you please suggest.
it did not happen every time, but occasionally. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
I'm guessing that you copied a PDS member to a PDS (not to a PDS member). Is that correct? Did you copy it to a loadlib for instance? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
it did not happen every time, but occasionally. |
This tells me there's some condition causing the corruption -- perhaps the type of data you are copying, perhaps something else. It will be pretty much impossible for us to track it down since we don't know your environment. I recommend you contact your site support group for assistance; perhaps they can look at some of the SMF data to get ideas as to what is going on. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
what do you mean by corrupted?? What happens? Is your source data PACKED? use the PROFILE command in the editor to see |
|
Back to top |
|
|
Ashish Mohan Sharma
New User
Joined: 30 Sep 2008 Posts: 22 Location: Pune
|
|
|
|
Corrupted means that I was not able to open the member and data was lost .
I have to retrieve the data from the backup then. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
everybody is just losing time here,
You did not post a single bit of info useful to analyze Your issue and give reasonable suggestions...
telling that You copied something and things got clobbered is not enough
for example, using a text cut and paste with the code tags
thru ISPF 3.2 post the details of input and output datasets
for the output before and after the copy,
if this is a recurring issue, most probably there is an error/misunderstanding in Your way of doing things |
|
Back to top |
|
|
Ashish Mohan Sharma
New User
Joined: 30 Sep 2008 Posts: 22 Location: Pune
|
|
|
|
Let me ealborate it as much as possible:
I work in Production Support and used to get the files FTPED from other NT server in the form of member of some PDS. we used to copy the member of that PDS using ISPF 3.2 to the production member and over writing the existing data.
Then we came to the issue of getting members corrupted which ocurs every now and then. So when we ask the root cause of it from our support team they say that it is because of different blocksize (Lrecl is same for both the PDS). And they advised to do copy paste rather using ISPF utility.
But I am not convinced with it. I think blocksize should not be the case. I just want to know whether they are right or not. And has someone face the similar problem?
If you need further information then please let me know. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Copy the member to your own PDS before copying to the production PDS.
Check out your PDS - blocksize etc. etc. identical to production.
If it is OK, then copy to production.
If production then corrupts and your PDS does not, you have then proven that the problem is not the blocksizes, but something different. That is what you will need to investigate further. |
|
Back to top |
|
|
Ashish Mohan Sharma
New User
Joined: 30 Sep 2008 Posts: 22 Location: Pune
|
|
|
|
Thanks
I will see the same. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
Let me ealborate it as much as possible: |
if You want to get help, do not elaborate please
just reply with the asked for info...
it will speed up things
Your elaboration/elucubration add just nothing to the scarce info provided to start with |
|
Back to top |
|
|
|