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

warning - dd name reference refers only to 1st concatenation


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Savitha Muthukrishnan

New User


Joined: 31 Dec 2006
Posts: 8
Location: Chennai

PostPosted: Mon Aug 17, 2009 5:15 am
Reply with quote

Hi,

Iam getting the following warning message in my JCL "DDNAME REFERENCE REFERS ONLY TO FIRST CONCATENATION".

The step has a JI card to copy a file in to a GDG only on specific days. Can you please let me know what this warning means.

Thanks.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Aug 17, 2009 5:27 am
Reply with quote

Is there a message number such as IEF??? associated with the message? Is the message coming out when you submit the JCL or when you run some JCL checker on it? If you're having trouble with a job stream, don't you think it might be a good idea to post the JCL (using BBcode) so we can see what you're talking about and not having to guess?
Back to top
View user's profile Send private message
Savitha Muthukrishnan

New User


Joined: 31 Dec 2006
Posts: 8
Location: Chennai

PostPosted: Mon Aug 17, 2009 5:44 am
Reply with quote

I get this warning message when I try to "JEM" the JCL to spot errors. This is the step in my JCL :

Code:
#JI,ID=(051,052,053,054,055)
//STEP01   EXEC PGM=ICEGENER,
//            COND=(0,NE)
//*
//SYSUT1       DD  DSN=DATASETNAME,
//            DISP=SHR
//*
//SYSUT2       DD  DSN=GDG DATASET NAME,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,SPACE=(CYL,(50,91),RLSE),
//            DCB=(RECFM=FB,LRECL=319,BLKSIZE=0)
//*
//SYSPRINT     DD  SYSOUT=*
//*
//SYSIN        DD  DUMMY
//*
#JEND
code'd

The step has to copy the dataset into a GDG on the specific days mentioned in the JI CARD.

Thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 17, 2009 6:32 am
Reply with quote

Hello,

Suggest you look in the JEM documentation.

You could also submit the job with typrun=scan. JCL checkers are notorious for detecting "errors" that are not . . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Aug 17, 2009 6:33 am
Reply with quote

If you're not specifying the (+1) generation on SYSUT2, you are referring to all cataloged generations of the GDG. This may be what the error message is about -- especially since your job isn't going to go well when it attempts to open for output all generations at the same time.
Back to top
View user's profile Send private message
Savitha Muthukrishnan

New User


Joined: 31 Dec 2006
Posts: 8
Location: Chennai

PostPosted: Mon Aug 17, 2009 7:49 am
Reply with quote

The warning remains the same despite having a (+1) on SYSUT2.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Aug 17, 2009 11:07 am
Reply with quote

Quote:
This is the step in my JCL
Do you have other steps in the same JCL? If there are multiple steps, how did you conclude that the problem is in this step?

You cant always believe "JCL checkers'. So how about following Dick's suggestion here
dick scherrer wrote:
You could also submit the job with typrun=scan. JCL checkers are notorious for detecting "errors" that are not . . .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Aug 17, 2009 12:07 pm
Reply with quote

1. Sugget you JEM the JCL, you'll get something like this:
Code:
****** ***************************** Top of Data ******************************
==MSG> *** ERROR SUMMARY AND COUNTS ***   JEM  JS7.2.0   08/16/2009  23:34:26 
==MSG>     0  ADVISORY LEVEL                                                   
==MSG>     1  WARNING LEVEL                                                   
==MSG>     0  ERROR LEVEL                                                     
==MSG>     1  TOTAL ISSUED        0 SUPPRESSED.                               
==MSG>      THE HIGHEST SEVERITY CODE ENCOUNTERED WAS    04.                   
==MSG>  LABEL   SV MSG.NO.    ERROR MESSAGE                                   
==MSG> -------- -- --------   -------------------------------------------------
==MSG> .JAAA     4 DSS4731W - STMT NOT RECOGNIZED - SYSIN DD GENERATED BY     
==MSG>                        JOB/SCAN                                         
post that here as it is.

2. Do you concatenate PDS/PDSe and they have same member names -- though what you posted it does not look like that you are delaing with PDS/PDSe but that is what you posted, may be that's not happening actually.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 18, 2009 12:30 am
Reply with quote

Hello,

If you are still having problems, suggest you post the actual expanded jcl that is run rather than what has been posted. . .

To protect your "real" dataset name(s) and job info, replace the actual name with something very similar using the same number of nodes in the dataset names as well as any generation specification.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Reference for COND parameter. JCL & VSAM 1
No new posts Reference documentation DFSDDLT0 IMS DB/DC 2
No new posts Trying to reference a javascript glob... CLIST & REXX 7
No new posts DITTO/ESA R3 User's Guide and Referen... IBM Tools 3
No new posts Warning in dataset message TSO/ISPF 18
Search our Forums:

Back to Top