A phase in z/VSE is the same as a phase in z/OS, But, the CSECT info is not as complete as in z/OS. While z/OS has the information for the original different CSECTs used to build the phase, z/VSE only saves the main CSECT identification information. Restated, all the subroutines that may have been hard-linked to the phase are in the phase, but there is not enough information to remove or replace one of the csects.

So, when you punch the phase from z/VSE, you will see only one CSECT for the total program.

In this discussion, the problem is that even if the COBOLII program was linked with LE 'parts' in z/VSE, those LE 'parts' may try to use z/VSE only pointers to branch into LE.

So, I don't think it's going to work.

Tony Thigpen

Seymour J Metz wrote on 10/8/21 10:12 AM:
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

Reply via email to