Re: Linkling an object from VSE to be used in z/OS

2021-10-09 Thread Seymour J Metz
IBM announced MVS/XA on Mar 31, 1983, so it must have been MVS/XA or some 
flavor of MVS/370.


--
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: Friday, October 8, 2021 5:33 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Linkling an object from VSE to be used in z/OS

All I know is that the first MVS (or was it OS/390?) shop I worked with,
back in 1983, called them phases. After that shop, I was in VSE shops
until 10 years ago. Only upon returning to VSE did I first hear "load
module" and "objects". I just figured that when they moved to using
"Binder", they stopped using the old term.

Tony Thigpen

Seymour J Metz wrote on 10/8/21 5:15 PM:
> z/OS has program objects and load modules. Within legacy load modules there 
> might be segments or overlays. But a/OS does not have phases.
>
>
> --
> 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: Friday, October 8, 2021 11:30 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Linkling an object from VSE to be used in z/OS
>
> 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 [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'00'
>>> 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=*
>>> //SYSINDD  *
>>>   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
>>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> 

Re: Linkling an object from VSE to be used in z/OS

2021-10-09 Thread Steve Thompson
OS/390 was mid-1990s. I don’t remember the actual year. 

It sounds like the shop you were in had migrated from DOS/VS[E] and so 
continued with old phraseology. At least to me. 

As at least one other referred to CIL (Core Image Library), non- DOS 
programmers would not know that DOS Linkedit pre-bound load modules to the 
Partition in which they would execute. Change the partition boundaries and life 
could get interesting. Think in terms of ACONs now pointing to the original 
addresses and not being relocated by the loader. 

And partition resizing was done when one needed more “core” to run certain 
programs where the system didn’t have enough memory (generally non-DAT machines 
but might be needed with 24bit DAT as well). 

Then, one needed subroutines that could self relocate so they were partition 
location independent. 

And the rest of my DOS memory appears to have been HSM migrated to the bit 
bucket. 

Sent from my iPhone — small keyboarf, fat fungrs, stupd spell manglr. Expct 
mistaks 


> On Oct 8, 2021, at 5:33 PM, Tony Thigpen  wrote:
> 
> All I know is that the first MVS (or was it OS/390?) shop I worked with, 
> back in 1983, called them phases. After that shop, I was in VSE shops until 
> 10 years ago. Only upon returning to VSE did I first hear "load module" and 
> "objects". I just figured that when they moved to using "Binder", they 
> stopped using the old term.
> 
> Tony Thigpen
> 
> Seymour J Metz wrote on 10/8/21 5:15 PM:
>> z/OS has program objects and load modules. Within legacy load modules there 
>> might be segments or overlays. But a/OS does not have phases.
>> --
>> 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: Friday, October 8, 2021 11:30 AM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: Linkling an object from VSE to be used in z/OS
>> 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 [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'00'
 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=*
 //SYSINDD  *
  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 

Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Tony Thigpen
All I know is that the first MVS (or was it OS/390?) shop I worked with, 
back in 1983, called them phases. After that shop, I was in VSE shops 
until 10 years ago. Only upon returning to VSE did I first hear "load 
module" and "objects". I just figured that when they moved to using 
"Binder", they stopped using the old term.


Tony Thigpen

Seymour J Metz wrote on 10/8/21 5:15 PM:

z/OS has program objects and load modules. Within legacy load modules there 
might be segments or overlays. But a/OS does not have phases.


--
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: Friday, October 8, 2021 11:30 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Linkling an object from VSE to be used in z/OS

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 [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'00'
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=*
//SYSINDD  *
  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



--
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


Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Seymour J Metz
z/OS has program objects and load modules. Within legacy load modules there 
might be segments or overlays. But a/OS does not have phases.


--
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: Friday, October 8, 2021 11:30 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Linkling an object from VSE to be used in z/OS

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 [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'00'
>> 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=*
>> //SYSINDD  *
>>  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
>

--
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


Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Wayne Bickerdike
Phase is equivalent of load module.

On Sat, Oct 9, 2021, 05:37 Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Fri, 8 Oct 2021 11:30:44 -0400, Tony Thigpen wrote:
>
> >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.
> >
> What's a "phase in z/OS"?
>
> I need a vocabulary lesson. or a citation to a manual.
>
> -- gil
>
> --
> 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


Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Paul Gilmartin
On Fri, 8 Oct 2021 11:30:44 -0400, Tony Thigpen wrote:

>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. 
>
What's a "phase in z/OS"?

I need a vocabulary lesson. or a citation to a manual.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Tom Ross
>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.

I have been recommending The Source Recovery Company for 25 years!
 https://www.source-recovery.com/
You can send them your executable (not the object deck) and they
can re-create the COBOL source!  The data names and paragraph names
will be machine generated, but you could compile with COBOL V6 on z/OS!

Cheers,
TomR  >> COBOL is the Language of the Future! <<

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Tony Thigpen
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 [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'00'
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=*
//SYSINDD  *
 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



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Seymour J Metz
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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joe 
Monk [joemon...@gmail.com]
Sent: Friday, October 8, 2021 10:41 AM
To: IBM-MAIN@LISTSERV.UA.EDU
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  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 [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'00'
> > 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=*
> > //SYSINDD  *
> > 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
>

--
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


Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Joe Monk
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  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 [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'00'
> > 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=*
> > //SYSINDD  *
> > 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
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Linkling an object from VSE to be used in z/OS

2021-10-08 Thread Seymour J Metz
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'00'
> 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=*
> //SYSINDD  *
> 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


Re: Linkling an object from VSE to be used in z/OS

2021-10-07 Thread Tony Thigpen
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'00'
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=*
//SYSINDD  *
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


Re: Linkling an object from VSE to be used in z/OS

2021-10-07 Thread allan winston
Attila,

   I agree with you that there is almost no chance of a load module
generated from this object deck operating correctly.

   z/OS and VSE use SVCs differently.  For performing I/O, DCBs and DTFs
are radically different.  The VSE COBOL compiler may be
calling library routines that don't exist in the z/OS environment.

   If this critical software and you have the big bucks, you could license
DUO:
http://www.lookupmainframesoftware.com/soft_detail/dispsoft/546
if it is still marketed!  The above link is 9 years old.





On Thu, Oct 7, 2021 at 3:55 AM Attila Fogarasi  wrote:

> MVS format object decks always have x'02' in column 1 and not "W", so that
> would be a problem.  You would also need to link with an appropriate Cobol
> runtime library, and those would have been EOL circa 30 years ago.  Worst
> case you might have to disassemble and recreate this module, eliminating
> the VSE dependencies (some are usually unavoidable).
>
> On Thu, Oct 7, 2021 at 6:22 PM Gadi Ben-Avi  wrote:
>
> > 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'00'
> > 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=*
> > //SYSINDD  *
> >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


Re: Linkling an object from VSE to be used in z/OS

2021-10-07 Thread Seymour J Metz
It looks like you punched with stacker select, which  suggests that the record 
length is 81 rather than 80. IAC, I suspect that there is VSE only code there. 
Is there a decompiler?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3



From: IBM Mainframe Discussion List  on behalf of 
Gadi Ben-Avi 
Sent: Thursday, October 7, 2021 3:22 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Linkling an object from VSE to be used in z/OS

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'00'
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=*
//SYSINDD  *
   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


Re: Linkling an object from VSE to be used in z/OS

2021-10-07 Thread Peter Sylvester

shifing 1 byte to the left
removing the  phase and mode
changing the number of rld entries in the last rld record from x'34' to x'10

no complains from the binder

the skipped rld entries contain x'0100' and one just zeros.
no idea what that means, i have never seen vse




On 07/10/2021 10:00, Gadi Ben-Avi wrote:

I removed the W by shifting the who deck to the left.
I then removed the PHASE statement.
This didn't help much.
The message from the Binder are:
IEW2278I B352 INVOCATION PARAMETERS - LIST,XREF,NOLET,MAP
IEW2322I 1220  1MODE AMODE(31),RMODE(ANY)
IEW2359E 240B SECTION JKHIVX52 CONTAINS AN RLD WITH AN INVALID ADCON LOCATION. 
CLASS = B_TEXT, ELEMENT OFFSET =
  FF7FFF88.
IEW2307E 1113 CURRENT INPUT MODULE NOT INCLUDED BECAUSE OF INVALID DATA.
IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED.
IEW2230S 0414 MODULE HAS NO TEXT.
IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED.
IEW2008I 0F03 PROCESSING COMPLETED.  RETURN CODE =  12.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Attila Fogarasi
Sent: Thursday, October 7, 2021 10:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Linkling an object from VSE to be used in z/OS

MVS format object decks always have x'02' in column 1 and not "W", so that 
would be a problem.  You would also need to link with an appropriate Cobol runtime 
library, and those would have been EOL circa 30 years ago.  Worst case you might have to 
disassemble and recreate this module, eliminating the VSE dependencies (some are usually 
unavoidable).

On Thu, Oct 7, 2021 at 6:22 PM Gadi Ben-Avi  wrote:


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'00'
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=*
//SYSINDD  *
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

Email secured by Check Point

--
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


Re: Linkling an object from VSE to be used in z/OS

2021-10-07 Thread Gadi Ben-Avi
I removed the W by shifting the who deck to the left. 
I then removed the PHASE statement.
This didn't help much.
The message from the Binder are:
IEW2278I B352 INVOCATION PARAMETERS - LIST,XREF,NOLET,MAP 
IEW2322I 1220  1MODE AMODE(31),RMODE(ANY) 
IEW2359E 240B SECTION JKHIVX52 CONTAINS AN RLD WITH AN INVALID ADCON LOCATION. 
CLASS = B_TEXT, ELEMENT OFFSET =
 FF7FFF88.
IEW2307E 1113 CURRENT INPUT MODULE NOT INCLUDED BECAUSE OF INVALID DATA.  
IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED.
IEW2230S 0414 MODULE HAS NO TEXT. 
IEW2677S 5130 A VALID ENTRY POINT COULD NOT BE DETERMINED.
IEW2008I 0F03 PROCESSING COMPLETED.  RETURN CODE =  12.   

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Attila Fogarasi
Sent: Thursday, October 7, 2021 10:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Linkling an object from VSE to be used in z/OS

MVS format object decks always have x'02' in column 1 and not "W", so that 
would be a problem.  You would also need to link with an appropriate Cobol 
runtime library, and those would have been EOL circa 30 years ago.  Worst case 
you might have to disassemble and recreate this module, eliminating the VSE 
dependencies (some are usually unavoidable).

On Thu, Oct 7, 2021 at 6:22 PM Gadi Ben-Avi  wrote:

> 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'00'
> 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=*
> //SYSINDD  *
>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

Email secured by Check Point

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Linkling an object from VSE to be used in z/OS

2021-10-07 Thread Attila Fogarasi
MVS format object decks always have x'02' in column 1 and not "W", so that
would be a problem.  You would also need to link with an appropriate Cobol
runtime library, and those would have been EOL circa 30 years ago.  Worst
case you might have to disassemble and recreate this module, eliminating
the VSE dependencies (some are usually unavoidable).

On Thu, Oct 7, 2021 at 6:22 PM Gadi Ben-Avi  wrote:

> 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'00'
> 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=*
> //SYSINDD  *
>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


Re: Linkling an object from VSE to be used in z/OS

2021-10-07 Thread Colin Paice
The phase statement is VSE specific, so it will not run without change.  If
you send it to me privately I'll see if I can bind it.

On Thu, 7 Oct 2021 at 08:22, Gadi Ben-Avi  wrote:

> 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'00'
> 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=*
> //SYSINDD  *
>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


Linkling an object from VSE to be used in z/OS

2021-10-07 Thread Gadi Ben-Avi
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'00'
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=*
//SYSINDD  *
   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