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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tony Thigpen [t...@vse2pdf.com] Sent: Thursday, October 7, 2021 8:39 PM To: IBM-MAIN@LISTSERV.UA.EDU 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN