View previous topic :: View next topic
|
Author |
Message |
paritosh.sharma
New User
Joined: 30 Jun 2008 Posts: 2 Location: Chennai
|
|
|
|
Hi,
I am a new comer in mainframe.
I am trying to copy one dataset to another one using IEBGENER utility, I got abend S000 U0242, Can any one please tell me what is the meaning of this abend code. |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
Hi,
Welcome to the forum...
post your JCL to see the error message
try this code
//STEP010 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=In file
//SYSUT2 DD DISP=MOD,DSN=outfile
//SYSIN DD DUMMY |
|
Back to top |
|
|
paritosh.sharma
New User
Joined: 30 Jun 2008 Posts: 2 Location: Chennai
|
|
|
|
Hi,
Thanks for your response,
It is working fine now. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
why does it need DISP=MOD ?
and please post original JCL and error message
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
And - is this an IMS question? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Well, it's not a good morning for me..
...in IMS DB/DC forum question on IEBGENER is asked
...without looking at SYSOUT suggestion comes in with
which would actually invoke the SORT product at that shop.
..& suggestion worked out..
Well, Please help me to learn the concept related to mainframes which I might have missed out after reading this thread.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
Quote: |
which would actually invoke the SORT product at that shop.
|
Unless you are sure which shop this is talking about, IEBGENER may or may not invoke the sort. . .
Without seeing the original jcl, we can only guess. . .
I suspect that if the job were run 2 or more times, the MOD would cause problems as the output would accumulate when the file already existed.
4 paritosh.sharma,
You need to understand why the jcl worked and how it worked as well as understand why your original jcl did not work. If you post the original jcl, someone here will be able to clarify why it did not work. |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
Hi,
Yes it will accumulate the data in the existing file.
4 Anuj,
I gave the JCL with a guess that he is trying to copy from one DS to other using IEBGENER.
Why did you feel that sort will be invoked with this JCL? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Why did you feel that sort will be invoked with this JCL? |
Due to the speed of the sort product over iebgener, many systems "look at" iebgener executions and if it is simply a copy, invoke the sort product rather than iebgener. The speed difference is quite impressive.
This is not automatic, though, and is site-specific. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Srinivasa Rao wrote: |
Why did you feel that sort will be invoked with this JCL? |
Try to execute the same job with
& then with
check the messages in SYSPRINT in each case, please post us back what do you get there. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
If there are no control statements, why would a DD * be used? |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
Thanks D.sch for peace of good information
4 Anuj,
As dick said why would a DD * be used?
But I tested as you said with both DD DUMMY and DD *. My sysprint is same for both.
DATA SET UTILITY - GENERATE
PROCESSING ENDED AT EOD
Can you try the same in your system and paste what you get. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
In my shop, a //SYSIN DD * or //SYSIN DD DSN= invokes IEBGENER
//SYSIN DD DUMMY invokes DFSORT.
In this case a //SYSIN DD * without control statements is not a good idea as it will be take longer to process if it is simply a copy.
Personally until DFSORT was invoked from IEBGENER, I had no issues using //SYSIN DD * without control statements, mainy because I often interchanged between no control and control statements.
Gerry |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Quote: |
Can you try the same in your system and paste what you get. |
With
SYSPRINT:
Code: |
DATA SET UTILITY - GENERATE
WER276B SYSDIAG= 3093963, 8156245, 8156245, 6064567
WER164B 4,912K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 44K BYTES RESERVE REQUESTED, 432K BYTES USED
WER146B 4K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SYSUT1 : RECFM=FB ; LRECL= 80; BLKSIZE= 27920
WER110I SYSUT2 : RECFM=FB ; LRECL= 80; BLKSIZE= 27920
WER410B 3,880K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 324K BYTES USED
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
WER416B SYSUT1 : EXCP'S=1,UNIT=3390,DEV=B101,CHP=(151719959799,3),VOL=MIZAAF
WER416B SYSUT2 : EXCP'S=1,UNIT=3390,DEV=B501,CHP=(555759D5D7D9,4),VOL=MIZAA2
WER416B TOTAL OF 2 EXCP'S ISSUED FOR COPYING
WER054I RCD IN 13, OUT 13
WER169I RELEASE 1.2 BATCH 0453 TPF LEVEL 3.0
WER052I END SYNCSORT - XXXXXX,BACKUP,,DIAG=E600,608D,CAB7,6057,AE5A,48A3,0E6
SYNCSORT COPY FEATURE CALLED - RC = 0 |
And With
SYSPRINT:
Code: |
DATA SET UTILITY - GENERATE
IEB352I WARNING: ONE OR MORE OF THE OUTPUT DCB PARMS COPIED FROM INPUT
PROCESSING ENDED AT EOD |
|
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
Hi,
Great....
I hope utilities differs from site to site depending on various sort's installed or any other reason behind it...... |
|
Back to top |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
I think......
SORT EXIT must be defined in your parmlib. So When you executed with DUMMY it invoked sort utility... |
|
Back to top |
|
|
|