View previous topic :: View next topic
|
Author |
Message |
sonali12_9
New User
Joined: 13 Feb 2009 Posts: 20 Location: United States of america
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
sonali12_9
New User
Joined: 13 Feb 2009 Posts: 20 Location: United States of america
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
sonali12_9
New User
Joined: 13 Feb 2009 Posts: 20 Location: United States of america
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
|