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
 

 

warning - dd name reference refers only to 1st concatenation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: warning - dd name reference refers only to 1st concatenation
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: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 17, 2009 5:27 am    Post subject:
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    Post subject: Reply to: warning - dd name reference refers only to 1st con
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

Site Director


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

PostPosted: Mon Aug 17, 2009 6:32 am    Post subject:
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: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 17, 2009 6:33 am    Post subject:
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    Post subject: Reply to: warning - dd name reference refers only to 1st con
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: 2284
Location: @my desk

PostPosted: Mon Aug 17, 2009 11:07 am    Post subject:
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

Senior Member


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

PostPosted: Mon Aug 17, 2009 12:07 pm    Post subject:
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

Site Director


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

PostPosted: Tue Aug 18, 2009 12:30 am    Post subject:
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    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 StreamWeaver language reference chetanambi Compuware & Other Tools 1 Wed Jul 05, 2017 12:50 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
This topic is locked: you cannot edit posts or make replies. MEMOAPIX - Searching for a Reference ... Steve Coalbran All Other Mainframe Topics 13 Wed Feb 03, 2016 12:01 pm
No new posts Utility to extract dsn info from conc... Lynne Schuler PL/I & Assembler 12 Tue Jan 26, 2016 6:36 am


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