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
 

 

Problem with listing members through IEHLIST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Problem with listing members through IEHLIST
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: 3158
Location: Tucson AZ

PostPosted: Tue Feb 13, 2007 11:37 pm    Post subject:
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

Site Director


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

PostPosted: Wed Feb 14, 2007 1:20 am    Post subject:
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: 3158
Location: Tucson AZ

PostPosted: Wed Feb 14, 2007 2:29 am    Post subject:
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

Site Director


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

PostPosted: Wed Feb 14, 2007 2:43 am    Post subject:
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    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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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