Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to find possible traces of ARCH 7 in ARCH 5 load modules

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Prosenjit2011

New User


Joined: 15 Aug 2015
Posts: 3
Location: Singapore

PostPosted: Mon Aug 17, 2015 10:53 am    Post subject: How to find possible traces of ARCH 7 in ARCH 5 load modules
Reply with quote

Hi,

We have two sets of set of load modules one for ARCH(5) and one for ARCH(7).
In our current Mainframe , we can test ARCH(7) load only.

Is there a way we can determine a load is purely ARCH 5 ( not having any instruction, which is not valid for ARCH(5) ,like "LT 1,xxxx") or not, other than running and testing those in ARCH(5) machines.
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7241

PostPosted: Mon Aug 17, 2015 11:22 am    Post subject: Reply to: How to find possible traces of ARCH 7 in ARCH 5 load modules
Reply with quote

Some indication of which language you are talking about would be helpful.
Back to top
View user's profile Send private message
Prosenjit2011

New User


Joined: 15 Aug 2015
Posts: 3
Location: Singapore

PostPosted: Mon Aug 17, 2015 12:52 pm    Post subject: Reply to: How to find possible traces of ARCH 7 in ARCH 5 load modules
Reply with quote

Hi ,

We are having C++ and COBOL modules.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7241

PostPosted: Mon Aug 17, 2015 1:50 pm    Post subject: Reply to: How to find possible traces of ARCH 7 in ARCH 5 load modules
Reply with quote

ARCH(5) does not exist for COBOL, so no problem there.

You need to look at the C++ manuals. In COBOL the value of ARCH is stored in the Compiler Information Bytes (documented in the Programming Guide, you need V5 to have ARCH at all). See if the same thing is done with C++.
Back to top
View user's profile Send private message
Prosenjit2011

New User


Joined: 15 Aug 2015
Posts: 3
Location: Singapore

PostPosted: Tue Aug 18, 2015 7:31 am    Post subject: Reply to: How to find possible traces of ARCH 7 in ARCH 5 load modules
Reply with quote

Hi,

Thanks for your suggession, I have tried to get "complier information byte" related detail by AMBLIST , but could not able to get such information.
We do only have C++ objects and loads, our test environment is in ARCH(7) , but one of production mainframe in ARCH(5).

We want to make sure , is there any traces of ARCH(7) into those modules, before move to ARCH(5) production environment.

Below AMBLIST code I have USED -

//STEP010 EXEC PGM=AMBLIST
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//LOADLB DD DSN=MY.LOADLIB.DIR,DISP=SHR
//SYSIN DD *
LISTIDR DDN=LOADLB,MEMBER=xxxxxx
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7241

PostPosted: Tue Aug 18, 2015 11:35 am    Post subject: Reply to: How to find possible traces of ARCH 7 in ARCH 5 load modules
Reply with quote

The point of the ARCH compiler option is so that you can develop on one machine to target another. On your "Arch(7)" machine, if you compile with ARCH(5), you will not have a problem.

AMBLIST does not know about the Compiler information.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us