Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
4 COBOL Select statement & 5 JCL DD Declaration

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Gangaraju

New User


Joined: 15 Dec 2005
Posts: 6

PostPosted: Thu Dec 15, 2005 4:21 pm    Post subject: 4 COBOL Select statement & 5 JCL DD Declaration
Reply with quote

HI Frnds,

i am giving 5 select clauses in cobol, but i am declaring 4 dd statements in jcl. ok any error will occur i gave like this......clarify me and
i gave 4 selects in cobol program....and 5 dd statement in jcl what will happen when i am compile the program...

please give reply soon.......
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Dec 15, 2005 4:35 pm    Post subject: Re: Regarding Jcl
Reply with quote

While compiling the program there won't be any error because of this problem.

Regards,

Priyesh.
Back to top
View user's profile Send private message
Gangaraju

New User


Joined: 15 Dec 2005
Posts: 6

PostPosted: Thu Dec 15, 2005 5:23 pm    Post subject: what will be do if we get an error code while compling
Reply with quote

Hi,

what will be do if we get an error code while compling.

please clarify this doubt
Back to top
View user's profile Send private message
mak_tcs

New User


Joined: 23 Nov 2005
Posts: 69
Location: Minneapolis, MN USA

PostPosted: Thu Dec 15, 2005 6:52 pm    Post subject:
Reply with quote

Hi Gangaraju,

Could you tell me the purpose behind this question? Just Curious.. icon_eek.gif

Because the answer lies in your question.

DDnames you specify in Program and JCL should match.

If you get error at compile, then You verify the number of occurence.

Thanks,
Mani
Back to top
View user's profile Send private message
muffirulz

New User


Joined: 14 Sep 2005
Posts: 74
Location: Kentucky, USA

PostPosted: Thu Dec 15, 2005 9:23 pm    Post subject: Re: Regarding Jcl
Reply with quote

hi there,

there wont be any error in compilation unless there are two same dd names in the cobol program. And wy should compilation give error?

It will compile perfectly. But when you try to run then there an erorr will occur.
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us