View previous topic :: View next topic
|
Author |
Message |
swapnilushinde
New User
Joined: 17 Mar 2009 Posts: 30 Location: Bangalore.India
|
|
|
|
Hi All
I have tried to copy the JES messages from SPOOL while running job.. It was working fine for long time for one job. Now I am trying to use same EJESLINK step for another job. There it is not copying JESYMSG to dataset. But strange thing is that it's working for previous job fine now also.
Here is the code :
Code: |
//JOB00001 job
//
//....
//XSYSMSG EXEC PGM=EJESLNK,REGION=64M
//EJESEXT DD DSN=T50BPCN.JOB00006.CNTL,
// UNIT=WORK,SPACE=(TRK,1),DCB=(LRECL=150,RECFM=VB),
// DISP=(,CATLG,DELETE)
//EJESOUT DD SYSOUT=*,RECFM=FB,LRECL=240
//EJESIN DD DATA
JNAME JOB00001;SORT TIME D;STATUS
F JOB00001 FIRST
:S
F JESYSMSG
:E
/*
|
----------------------------------------------
Please help me on this...
Should EJESLINK used for some specific jobs only ??? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Just out of curiosity, was there any output when you ran the job? If so, why not post the output so we can, I don't know, see what the exact error was that you got? Saying "it didn't work" doesn't really give us much of a starting point. |
|
Back to top |
|
|
swapnilushinde
New User
Joined: 17 Mar 2009 Posts: 30 Location: Bangalore.India
|
|
|
|
Hi Robert
The successful completion of above step will copy the JESYMSG in the SPOOL for current job JOB00001 as it is. But now it is copying it at all for new job. Usually this error was happening when wrong jobname is given but
now it's strange!!
Message for successful completion of EJESLINK step
Code: |
EJES138 The cursor has been positioned to the row containing the string
EJES138 The cursor has been positioned to the row containing the string
EJES162 533 records extracted to "BATCH EXTRACT DD"
|
Current message : ( Step ran successfully bt didnt copy anything)
Code: |
EJES138 The cursor has been positioned to the row containing the string
EJES138 The cursor has been positioned to the row containing the string
EJES163 The extract operation was not completed due to the x"D37" abend
|
THE D37 ERROR IN JESYMSG :
Code: |
JES3 ALLOCATED TO EJESOUT
JES3 ALLOCATED TO EJESIN
D37-04,IFG0554P,CL452AT1,XSYSMSG,EJESEXT,3063,PRIM16,T57CP3N.
|
I couldnt understand what's the reason.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Did you look up the D37 abend in the Messages and Codes manual? What did that tell you? Since it's Psychic Thursday, I'll give you a hint: what happens to your job if your output has more than one track's worth of data? |
|
Back to top |
|
|
swapnilushinde
New User
Joined: 17 Mar 2009 Posts: 30 Location: Bangalore.India
|
|
|
|
Thanks a lot Robert... It was becuase the SPACE problem. But it is not giving abend for this. Anyways that was my fault...
Actually I dont have manual for this. Basically I am using this EJESLINK for fetching the completion code of job and doing SAS reporting on it. If you have a manual or any link for this please send it to me...
But what is that Psychic Thursday? I didnt get it... |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Uh, D37 is the abend for the space problem. So it was giving the abend.
If your site is licensed for EJES, you can get the manuals from Phoenix Software at www.phoenixsoftware.com The SAS manuals are at www.sas.com
Psychic Thursday is a forum joke -- meaning if you don't tell us what the problem is by posting ACTUAL job output, we can't read your mind and figure out the problem -- because we're not psychic. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Robert, FYI, I believe that psychic day is Friday this week |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Well, dang, expat -- I could have sworn I picked up the Thursday vibe! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
Well, dang, expat -- I could have sworn I picked up the Thursday vibe! |
that just means you still have 'thin skin'. |
|
Back to top |
|
|
|