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
 
Putting all Include statement in one member

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

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Tue Jan 10, 2006 2:27 pm    Post subject: Putting all Include statement in one member
Reply with quote

I am a fresher.I want to know whether we have to put all the include statements in just one member in the link library or they can be acroos multiple members.Pls provide me with a sample link memeber.

Sincere apologies if the problem is too trivial to be discussed in the forum.
Back to top
View user's profile Send private message

nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Tue Jan 10, 2006 2:57 pm    Post subject: Re: Linkediting ?
Reply with quote

Hi Mfjude,
No problem is trivial.From trivial things great contests oft arise.
Please give a clear detailed explanation of ur problem.I ain't able to understand the problem and do remember to make use of the search facility provided prior to posting the queries.

Thanks,
Nikhil .S.
Back to top
View user's profile Send private message
mfjude

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Tue Jan 10, 2006 3:04 pm    Post subject:
Reply with quote

Hi Nikyojin,
I have a load module which i wanted to link with my program.I will have to use include "name" in my links library.Can I have it in some other member of the same library?

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

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Tue Jan 10, 2006 4:04 pm    Post subject: Re: Linkediting ?
Reply with quote

Yes U can keep it as a member of the same library...
Back to top
View user's profile Send private message
mfjude

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Tue Jan 10, 2006 4:16 pm    Post subject:
Reply with quote

I think u didn't get my prob.In my links library I have a member of the same name as my program.Now to call other subprograms whose load modules are stored somewhere else I have put include "called-program-name" in some other member of the same link library.Is this ok .One more thing do I need to copy the load modules of the called programs in my private load module library having my primary program.Pls reply soon.
Back to top
View user's profile Send private message
mfjude

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Wed Jan 11, 2006 11:43 am    Post subject:
Reply with quote

Pls help me with my problem.Still not solved.........
Back to top
View user's profile Send private message
sudhakarm

New User


Joined: 11 Jan 2006
Posts: 2
Location: kolkatta

PostPosted: Wed Jan 11, 2006 5:26 pm    Post subject:
Reply with quote

its based on your call,whether staticaly or dynamicaly,
for example
if you are using the static call ,you need to concatenate all the called programs load mudule to calling progrms loadmudule at the time of link edit.
i think that will satisfy ur question some what,or else let us know more clearly.
Back to top
View user's profile Send private message
mfjude

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Wed Jan 11, 2006 7:52 pm    Post subject:
Reply with quote

Thanx Sudhakarm,

In the compiler options I have given Nodynam i.e static call.In links member I am wrtiting "INCLUDE SYSLIB(called-pgm-name)".But the load module for the called-pgm is not present in my private load-module library.Do I have to put it in my private load module library or this is sufficient.Can u give me a sample links member b'coz I think the problem may be with my links member.
Back to top
View user's profile Send private message
mfjude

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Thu Jan 12, 2006 10:12 am    Post subject:
Reply with quote

To add I amm using static calls in batch and I am linkediting the subprogram's compiled version in modlib and not its load module.Is this fine?
Back to top
View user's profile Send private message
sudhakarm

New User


Joined: 11 Jan 2006
Posts: 2
Location: kolkatta

PostPosted: Thu Jan 12, 2006 11:27 am    Post subject:
Reply with quote

COMPILING COBOL PROGRAM

//jobname JOB (acctno),name,MSGCLASS=1 (1)
//stepname EXEC PGM=IGYCRCTL,PARM=(options) (2)
//STEPLIB DD DSNAME=SYS1.COB2COMP,DISP=SHR (3)
//SYSLIN DD DSNAME=&SRCEIN,UNIT=SYSDA, (4) <-- OBJECT MODULE O/P
// DISP=(MOD,PASS),SPACE=(subparms)
//SYSPRINT DD SYSOUT=* (5)
//SYSIN DD DSNAME=dsname,UNIT=device, (6) <--- ATTENTION , HERE WE GIVE SOURCE PROGRAM
VOLUME=(subparms),DISP=SHR

LINK EDIT

//LKED EXEC PGM=IEWL,REGION=1024K,PARM=(options) (1)
//SYSPRINT DD SYSOUT=A (2)
//SYSLIB DD DSN=SYS1.COB2LIB,DISP=SHR (3)
// DD DSN=SYS1.COB2COMP,DISP=SHR
//SYSLMOD DD DSN=MYDOC.MYPROG.BLM(TESTTEMP), (4) <--- LOAD MODULE o/p
// DISP=SHR
//SYSTERM DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIN DD DSN=&LOADSET,DISP=(OLD,DELETE) (5) <-- OBJECT MODULE i/p
//SYSIN DD DUMMY


note:
in that syslib you can concatenate the called programs load module as many you want.

RUN JCL

//ASD220X JOB (03SES,SSEA),'RUNJCL',CLASS=S,MSGCLASS=T,
// NOTIFY=&SYSUID
//STEP1 EXEC PGM=TESTTEMP <- LOAD MODULE name
//STEPLIB DD DSN=MYDOC.MYPROG.BLM,DISP=SHR <- Data set where LOAD MODULE resides
//SYSIN DD * <- Data passing to that program (optional)
0000002222
/*
//SYSOUT DD SYSOUT
Back to top
View user's profile Send private message
mfjude

New User


Joined: 09 Jan 2006
Posts: 20

PostPosted: Thu Jan 12, 2006 2:17 pm    Post subject:
Reply with quote

I am getting the following error code while linking::::

IEW2456E-----SYMBOL CKTARGET UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE FROM THE DESIGNATED CALL LIBRARY.
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 More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm

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