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

Problem with listing members through IEHLIST


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
niks_jude
Warnings : 1

Active User


Joined: 01 Dec 2006
Posts: 144
Location: Mumbai

PostPosted: Tue Feb 13, 2007 11:12 pm
Reply with quote

This is my IEHLIST JCL

Code:

//IEHLIST  EXEC PGM=IEHLIST                           
//SYSPRINT DD SYSOUT=*                                 
//VOLDD   DD UNIT=SYSDA,VOLUME=SER=T243Q3,DISP=OLD     
//SYSIN DD *                                           
  LISTPDS DSNAME=(yyy.yyy.yyy),VOL=3390=T243Q3,FORMAT
/*     


And I am getting the following error
IEH103I INVALID CONTROL CARD---LISTPDS DSNAME=(yyy.yyy.yyy),VOL=3390=T243Q3,FORMAT
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 11:37 pm
Reply with quote

Quote:
The LISTPDS identifies the type of control statement. It must be preceded and followed by one or more blanks.
Check it out: DFSMS/MVS V1R5 Utilities 1.4.2 Utility Control Statements
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: Wed Feb 14, 2007 1:20 am
Reply with quote

Hello,

The posted JCL works on the system here. . . . icon_question.gif

My IEBIBALL thought it looked correct, so i copy/pasted and changed to a local volser and dsn.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Feb 14, 2007 2:29 am
Reply with quote

When I looked earlier (via "quote"), before it was "coded", there did not appear to be any leading space on the control statement.....Some moderator is playing with our heads.... icon_eek.gif
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: Wed Feb 14, 2007 2:43 am
Reply with quote

Maybe, but i would be interested in why the original "step" did not work. . .

Possibly the original did not have the leading space(s) and when it was converted to "code" it was modified 'cause 'tis known that there needs to be a leading space.

Hopefully, TS now has a working solution.
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts Job scheduling problem. JCL & VSAM 9
Search our Forums:

Back to Top