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
 

 

data got corrupt due to difference in Block size

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

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Fri Aug 28, 2009 8:07 pm    Post subject: data got corrupt due to difference in Block size
Reply with quote

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
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Aug 28, 2009 8:13 pm    Post subject: Reply to: data got corrupt due to difference in Block size
Reply with quote

More information is needed. My Carnac hat is in the shop. icon_wink.gif

What were the FROM and TO Blocksizes?

What's the LRECL?

What's the file-format; FB, VB?

Bill
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Fri Aug 28, 2009 8:23 pm    Post subject:
Reply with quote

And what are you using to do the copy -- program? utility? download to PC and upload to new file?
Back to top
View user's profile Send private message
Ashish Mohan Sharma

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Tue Sep 01, 2009 10:18 am    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Sep 01, 2009 12:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Ashish Mohan Sharma

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Tue Sep 01, 2009 3:52 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1238
Location: Richfield, MN, USA

PostPosted: Tue Sep 01, 2009 7:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Tue Sep 01, 2009 7:53 pm    Post subject:
Reply with quote

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
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Wed Sep 02, 2009 7:41 am    Post subject: Reply to: data got corrupt due to difference in Block size
Reply with quote

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
View user's profile Send private message
Ashish Mohan Sharma

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Wed Sep 02, 2009 10:54 am    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Sep 02, 2009 11:03 am    Post subject: Reply to: data got corrupt due to difference in Block size
Reply with quote

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
View user's profile Send private message
Ashish Mohan Sharma

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Wed Sep 02, 2009 11:34 am    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Sep 02, 2009 11:49 am    Post subject:
Reply with quote

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
View user's profile Send private message
Ashish Mohan Sharma

New User


Joined: 30 Sep 2008
Posts: 22
Location: Pune

PostPosted: Wed Sep 02, 2009 12:14 pm    Post subject:
Reply with quote

Thanks

I will see the same.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Sep 02, 2009 1:20 pm    Post subject: Reply to: data got corrupt due to difference in Block size
Reply with quote

Quote:
Let me ealborate it as much as possible:

if You want to get help, do not elaborate please icon_cool.gif

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
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 Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm


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