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

abend while file transfer


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sonali12_9

New User


Joined: 13 Feb 2009
Posts: 20
Location: United States of america

PostPosted: Tue May 18, 2010 4:54 pm
Reply with quote

I am getting below abend in Komfi step(file transfer)

,SEND ,1B02,D,DATAIN ,GET ,WRNG.LEN.RECORD,00000187000000,QSAM.
System abend code 001, reason code 00000004.

I am trying to send same file to different users. but for 2 user id's i am getting abend. sometimes jcl abends for user 1 and sometimes it abends fro user 5
File which is sent is created in prior step of jcl.

I have verified users and server info also.
My jcl is
//file1 EXEC A1116DL,FILE=&&TEMP1,LRECL=150,
// USER=A1,SERVER=s1,PCFILE='temp.txt'
//fill2 EXEC A1116DL,FILE=&&TEMP1,LRECL=150,
// USER=A2,SERVER=s2,PCFILE='temp.txt'
Similarly 8 times this step is repeated for different users.

please suggest me what could be the reason.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 18, 2010 5:03 pm
Reply with quote

Wrong length record seems pretty self-explanatory. Your job is probably failing because you are using fixed length 150-byte records and data being passed is not 150-byte fixed length records.
Back to top
View user's profile Send private message
sonali12_9

New User


Joined: 13 Feb 2009
Posts: 20
Location: United States of america

PostPosted: Tue May 18, 2010 5:50 pm
Reply with quote

Hi Robert,

if that could be the reason for the abend how could few steps ran fine from the same jcl( i mean for few users it is working fine). is it possible that in one step file is transmitted and other case it is not
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 18, 2010 6:25 pm
Reply with quote

Your JCL is different in some way for the step that abended -- period. Your task is to figure out the difference because that'll be what caused the abend. And it doesn't matter if your job has 255 steps and 254 of them ran fine -- each step is an independent program running so you can wrong length records or any other error in any given step, even the last one. In other words, who cares how many steps ran fine -- they don't have the same JCL as the step that abended.
Back to top
View user's profile Send private message
sonali12_9

New User


Joined: 13 Feb 2009
Posts: 20
Location: United States of america

PostPosted: Tue May 18, 2010 7:05 pm
Reply with quote

I think i am not clear .

All my jcl steps are similar. only difference is user id and server.

i am transferring a single file temp.txt file to different users. sometimes my job abends in step which transfer file to user1 and sometimes it abends with user 5 or it varies.

Assuming step1is for user1
step2 is for user2 and .... step 5 for user5
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 18, 2010 7:42 pm
Reply with quote

Okay, if you want some help you're gonna have to post the JCL expansion. You can SAY all your steps are similar, but something is different or you would not get the error.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue May 18, 2010 7:49 pm
Reply with quote

sonali12_9 wrote:
System abend code 001, reason code 00000004.

Have you looked further at the "System abend code 001" which says The completion code can be issued if CLOSE processing called end-of-volume (EOV), and EOV processing detected an out-of-space condition. Refer to the explanation of message IEC020I in z/OS MVS System Messages, Vol 7 (IEB-IEE) for information about the task that was ended.
Pay special attention to the reference to the message IEC020I.....
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 7
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top