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
 

 

JCL Continuation question
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Fri Nov 02, 2007 7:15 am    Post subject: JCL Continuation question
Reply with quote

Hi,

I have a question about JCL continuation.
If it's possible to continue following ".TEST" part from next line, since which already exceeded "Position 72". icon_question.gif

=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
000034 //JS010D EXEC PGM=IEFBR14 ** DELETE **
000035 //*
000036 //DD1 DD DISP=(MOD,DELETE,DELETE),
000037 // SPACE=(10796,4),
000038 // DSN=&FIRST.&LEVEL1..&SECOND.&LEVEL2..&THIRD.&LEVEL3..&FOURTH.&LEVEL4.TEST

Thanks icon_biggrin.gif
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Nov 02, 2007 8:16 am    Post subject:
Reply with quote

luban,

Quote:
// DSN=&FIRST.&LEVEL1..&SECOND.&LEVEL2..&THIRD.&LEVEL3..&FOURTH.&LEVEL4.TEST

Why dont you requce the symbolic parameter lenght? Like LEVEL1 to L1 etc....
Back to top
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Fri Nov 02, 2007 9:08 am    Post subject:
Reply with quote

Hi Murali,

I just make this as an example, just suppose the symbolic parameter length is too long for the DSN name. Because some time the symbolic name is fixed for business issue. icon_smile.gif

Thanks
Ban
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Nov 02, 2007 1:32 pm    Post subject: Reply to: JCL Continuation question
Reply with quote

Quote:
Because some time the symbolic name is fixed for business issue.


First time that a parm_name is subjected to business rules...
go figure :-)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 02, 2007 2:07 pm    Post subject:
Reply with quote

This is a reasonably simple thing to test out on your own. In fact it would probably have been faster for you to do so.

Dare I ask if this is a HOMEWORK question.
Back to top
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Mon Nov 05, 2007 7:08 am    Post subject:
Reply with quote

Hi Expat,

I have tried a lot, but failed. I even doubt if it's allowed in JCL.
Unfortunately, it's not a HOMEWORK... icon_cry.gif

Regards,
Ban
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 Nov 05, 2007 8:37 am    Post subject:
Reply with quote

Hello Ban,

While this meets a business processing requirement, there is possibly not a business requirement for the long symbolic parameters. I'd suggest meeting the business need with shorter symbolic parameter names.
Back to top
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Mon Nov 05, 2007 2:26 pm    Post subject:
Reply with quote

Hi Dick,

Actually, this is just a Example.
Yes, the real lenght of single symbolic parameter is not so long, but the total length of ALL the parameters is really exceed 72.
So, is there any other way can solve this problem except the way to shorter the symbolic parameters? Or, it's impossible in JCL?

Thanks,

Ban
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 Nov 05, 2007 4:19 pm    Post subject:
Reply with quote

Wouldn't this violate the allowable length (44 charcter) of a qualified DSN as well, if it crosses the 72 column?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Nov 05, 2007 4:28 pm    Post subject:
Reply with quote

Anuj,

Quote:
Wouldn't this violate the allowable length (44 charcter) of a qualified DSN as well

No.

Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
//   SET SYM1=A,SYM2=B,SYM3=C                                           
//STEP1 EXEC PGM=XYZ                                                   
//DDDD DD DSN=&SYM1.&SYM2.&SYM3..&SYM1.&SYM2.&SYM3..&SYM1.&SYM2.&SYM3,

Though your DSN name (in parms) is 60 and odd.... your actual datasetname is going to be 10+ in length.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Nov 06, 2007 6:35 pm    Post subject:
Reply with quote

Hi,

I thought to locate a DSN such as
Code:
RACFID.A.B.C.D.E.F.G.H.I.J.K.l.m.n.o.p.q.r.s.t


I thought to increase the number of delimiters ("." in this case) while shorting the length of symbolic parameters; A,B..etc in the final DSN would be "sandwiched" via symbolic parameters. That's why my previous post comes in..I didn't think in right way.. ...I (again) think.

Well, for the original thread, then, length of the symbolic parameters should be shorten, as suggested ealier.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Nov 06, 2007 6:41 pm    Post subject: Reply to: JCL Continuation question
Reply with quote

Quote:
A.B.C.D.E.F.G.H.I.J.K.l.m.n.o.p.q.r.s.t


horrible naming convention,
the ratio noise to useful info is very ... find Yourself an adjective :-)
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Nov 06, 2007 6:59 pm    Post subject:
Reply with quote

Yeah..I found the adjective icon_wink.gif ..but after reading the thread..I just tried it to get a better understanding, however,never used in practical situtaions. I hope, I'm permitted to experiment & trouble you guys icon_smile.gif
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Nov 06, 2007 7:05 pm    Post subject:
Reply with quote

Anuj,

Quote:
trouble you guys

Not at all. As long as you are open for learning new things and SHARING your knowledge with others.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Nov 06, 2007 7:23 pm    Post subject:
Reply with quote

Hi Murali,

Quote:
As long as you are open for learning new things and SHARING your knowledge with others.

I'm always pack with stupid queris to ask about icon_smile.gif

BTW..Do I really share the knowledge.. icon_razz.gif
Back to top
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Wed Nov 07, 2007 9:23 am    Post subject:
Reply with quote

Hi Guys,

If anyone still remember my question ? icon_confused.gif

Regards,
Ban
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Wed Nov 07, 2007 11:00 am    Post subject:
Reply with quote

Ban,

Quote:
If anyone still remember my question ?

We had already suggested few ways.

> May be no one knows (or faced) your situation
or
> not intersted in helping you (Im sure this wont be the case)
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Wed Nov 07, 2007 12:14 pm    Post subject:
Reply with quote

HELLO,



Which question you are talking about?

Regard's
Vasanth...... icon_smile.gif
Back to top
View user's profile Send private message
Varun Singh

New User


Joined: 01 Aug 2007
Posts: 25
Location: Delhi

PostPosted: Wed Nov 07, 2007 12:14 pm    Post subject: Reply to: JCL Continuation question
Reply with quote

Hi Luban

If you are writting and DSN name is reaching upto 72 columns then just write it in next line. JCL will automatically take it as continuation.

a non-space in position 72 indicates a continuation

Please correct me if I am wrong....icon_biggrin.gif
Back to top
View user's profile Send private message
luban

New User


Joined: 19 Nov 2005
Posts: 26
Location: Shanghai, China

PostPosted: Wed Nov 07, 2007 1:08 pm    Post subject:
Reply with quote

Hi Guys,

Thanks for your help.
It looks like that shorten the symbolic parm is my only choice icon_rolleyes.gif

Just wish won't meet such kind of DSN again icon_biggrin.gif

Thank you all again.

Regards,
Ban
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
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Continuation Character ballaswaroop SYNCSORT 8 Thu Aug 25, 2016 4:46 pm
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts DFSort Question krrp DFSORT/ICETOOL 9 Mon Mar 07, 2016 7:11 pm


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