Phases in the CIL used to be non-relocatable, so adcons would certainly have been a problem in the old days. I don't know what the status is in z/VSE.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Joe Monk [[email protected]] Sent: Friday, October 8, 2021 10:41 AM To: [email protected] Subject: Re: Linkling an object from VSE to be used in z/OS The real problem he's going to have is ACONs. Usually they are referenced around a partition, no? Joe On Fri, Oct 8, 2021 at 9:13 AM Seymour J Metz <[email protected]> wrote: > What do you consider to be the MVS equivalent of a phase, and what utility > are you using to convert a load module to an object module? > > Certainly you can relink (rebind) and delete extraneous csects, but that's > somewhat of a manual process and still doesn't give you card images. > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ________________________________________ > From: IBM Mainframe Discussion List [[email protected]] on behalf > of Tony Thigpen [[email protected]] > Sent: Thursday, October 7, 2021 8:39 PM > To: [email protected] > Subject: Re: Linkling an object from VSE to be used in z/OS > > Don't expect it to work. When VSE punches a phase, the link deck created > includes any called modules without any way to get them out. This is in > contrast to z/OS which produces all the individual modules. > > Tony Thigpen > > Gadi Ben-Avi wrote on 10/7/21 3:22 AM: > > Hi, > > I was asked to attempt to link a object deck from VSE in z/OS. > > The program is a COBOL2 program, but the source has been lost. > > > > The first few lines of the object deck are: > > W PHASE JKHIVX52,S+X'000000' > > W MODE AMODE(31),RMODE(ANY) > > W.ESD .. ..JKHIVX52.§.©..÷0 > > > > After that there are many (A little over 12,000) lines that start with > W.TXT > > Next there are lines that start with W.RLD and a final like that starts > with W.END. > > > > The JCL I used was > > //LKED EXEC PGM=IEWL, > > // PARM='LIST,XREF,NOLET,MAP', > > // REGION=2M > > //SYSLIN DD DSN=N623.PMKA.KPMAT.JKHIVX52,DISP=SHR > > //SYSLMOD DD DSNAME=V110GAD.LOAD(JKHIVX52),DISP=SHR > > //SYSUT1 DD UNIT=3390,SPACE=(CYL,(1,1)) > > //SYSPRINT DD SYSOUT=* > > //SYSIN DD * > > INCLUDE SYSLIN(JKHIVX52) > > NAME JKHIVX52(R) > > > > I am doing something wrong? > > Can this deck be linked into a usable z/OS load module? > > > > Thanks > > > > Gadi > > > > > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
