IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 17, 2015 11:22 am
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
Reply with quote

Hi ,

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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Aug 17, 2015 1:50 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Aug 18, 2015 11:35 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
Search our Forums:

Back to Top