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

How to code PDS in a job!!


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

New User


Joined: 17 Mar 2006
Posts: 5
Location: INDIA

PostPosted: Fri Mar 17, 2006 5:05 pm
Reply with quote

How to code PDS in a JCL, if the PDS consists of symbolic parameters with the length more than 72 characters. icon_question.gif

ie., DSN=&GRPCOUNT..DT&YEAR&MONTH..CT&DAY.TM&CURRTIME..SFT&PRICIDNO..HEADERNO
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Fri Mar 17, 2006 5:29 pm
Reply with quote

Make your symbolics shorter....... icon_biggrin.gif

O.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 5:32 pm
Reply with quote

hy coboljcldb2,

define temp variables to make the line shorter than 72 bytes,
i.e.
SET A=TEXT
SET B=WORD
SET C=&A&B

DSN=&C --> C is TEXTWORD
martin9
Back to top
View user's profile Send private message
coboljcldb2

New User


Joined: 17 Mar 2006
Posts: 5
Location: INDIA

PostPosted: Mon Mar 20, 2006 10:20 am
Reply with quote

Thanks Martin and Ofer!! icon_biggrin.gif
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top