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
 

 

EJESLINK NOT WORKING...

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

New User


Joined: 17 Mar 2009
Posts: 30
Location: Bangalore.India

PostPosted: Wed May 06, 2009 3:39 pm    Post subject: EJESLINK NOT WORKING...
Reply with quote

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... icon_cry.gif
Should EJESLINK used for some specific jobs only ???
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Wed May 06, 2009 3:53 pm    Post subject:
Reply with quote

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

New User


Joined: 17 Mar 2009
Posts: 30
Location: Bangalore.India

PostPosted: Wed May 06, 2009 4:03 pm    Post subject: EJESLINK
Reply with quote

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

Global Moderator


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

PostPosted: Wed May 06, 2009 4:15 pm    Post subject:
Reply with quote

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

New User


Joined: 17 Mar 2009
Posts: 30
Location: Bangalore.India

PostPosted: Wed May 06, 2009 5:10 pm    Post subject: EJESLINK
Reply with quote

Thanks a lot Robert... It was becuase the SPACE problem. But it is not giving abend for this. Anyways that was my fault... icon_cry.gif
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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed May 06, 2009 5:16 pm    Post subject:
Reply with quote

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 http://www.phoenixsoftware.com The SAS manuals are at http://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
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 06, 2009 5:20 pm    Post subject:
Reply with quote

Robert, FYI, I believe that psychic day is Friday this week icon_lol.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed May 06, 2009 5:28 pm    Post subject:
Reply with quote

Well, dang, expat -- I could have sworn I picked up the Thursday vibe!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 06, 2009 5:33 pm    Post subject:
Reply with quote

Quote:
Well, dang, expat -- I could have sworn I picked up the Thursday vibe!


that just means you still have 'thin skin'. icon_lol.gif
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 SCRNAME not working on my mainframe? mrsidhu12 TSO/ISPF 7 Thu Sep 01, 2016 2:17 pm
No new posts 2 same CLIST pgm but with different n... boyti ko CLIST & REXX 5 Fri Jun 03, 2016 4:55 pm
No new posts REXX Screen not working due to LINKED... sundarkudos CLIST & REXX 1 Mon May 09, 2016 1:44 pm
No new posts Free FILE not working for specific users sankalp-goyal CLIST & REXX 12 Mon Apr 25, 2016 6:33 pm
No new posts PF7 and PF8 not working in Dynamic area Appu TSO/ISPF 6 Sat Dec 26, 2015 10:15 pm


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