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

Assembler program compile issues


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mohanreddy_y

New User


Joined: 21 Sep 2005
Posts: 4

PostPosted: Mon Aug 08, 2011 9:11 am
Reply with quote

Hi Every1,

when I tried to compile my Assembler program, I am getting below errors.

*************************************************
MEMBERS COPIED FROM SYSLIB

DFHTCADS ** NOT FOUND **
DFHCSADS ** NOT FOUND **
DFHAID ** NOT FOUND **
DFHBMSCA ** NOT FOUND **
SDSCWADS No Control Information Available
*************************************************

In my system library I didn't found DFHTCADS, DFHCSADS,... members. I think these members are related to CICS. Where these members are available? I think those will be in a standard dataset which will be same for all systems.

could you please help me to resolve my compilation issues.

Thanks,
Raj.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 08, 2011 9:17 am
Reply with quote

mohanreddy_y wrote:
I think those will be in a standard dataset


you are correct.

and standard compile jcl should be adequate.

are you using jcl that your site support group has provided
or are you using your own jcl.

either way, your site support group will have the answer....
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Aug 08, 2011 9:33 am
Reply with quote

They are in your particular version/release SDFHMAC CICS Library, which must be included in your Assembly (ASMA90) SYSLIB concatenation -

Code:

         DFHTCA CICSYST=CONTIG         TCA-DSECT
         COPY  DFHAID                  AID-BYTE EQUATES
         DFHCSAD TYPE=DSECT            CSA-DSECT
         COPY  DFHBMSCA                ATTRIBUTE-BYTES

You Assemble an Assembler program, you Compile a HLL language program.

Note: The CSA is based upon R13 (hard-coded) and the TCA is based upon R12 (TCACBAR), also hard-coded.

Bill
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 08, 2011 10:18 am
Reply with quote

Hello,

If you are using assembly jcl that you found or created, throw it away.

You need to only use compile/assemble jcl that is standard for your environment - not something that non-standard.
Back to top
View user's profile Send private message
mohanreddy_y

New User


Joined: 21 Sep 2005
Posts: 4

PostPosted: Mon Aug 08, 2011 3:35 pm
Reply with quote

Hi,
Thanks for your reply. I am using the JCL which was provided by the system users earlier. My project is Sun setting application, the program which I am trying to assemble is very very old (last compiled is in 1995). Nobody were there to give me transition.

Now I am trying to assemble the pgm, but I am getting the error which has described in previous message.

My question is in which library i can get the copybooks DFHTCADS, DFHCSADS,...etc. Probably these members will be located in same library everywhere. Could you please provide that so that I can give that PDS in the SYSLIB of my assemble JCL.

Thanks
Raj
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 08, 2011 3:44 pm
Reply with quote

Hello,

You have already been given what someone unfamiliar with your system can provide. . .

Dataset names (while sometimes similar) are still site-specific. We can't know how your system is configured. It is also possible that some of the needed datasets have been deleted for lack of use over time.

Suggest you find the most senior system support person and work with them. Try to find a similar assembly that currently works.

Good luck icon_smile.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 08, 2011 3:55 pm
Reply with quote

in addition,

things change by release.

if you are dealing with a program origanally assembled for cics in 1995,
it would have be cics version ???

if the current version of cics on your system is ??? + ?, then
1. you are at best going to have compatibility problems with cics - if the old version does not work with the new cics.
2. at worse, be required to modify the assembler to deal with new cics copybooks - if there are changes.

you need to speak with your site systems people. nobody outside of that group will know what library to use.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 08, 2011 4:48 pm
Reply with quote

Quote:
I think those will be in a standard dataset which will be same for all systems.
This thought is, however, COMPLETELY WRONG. Each site has the option to use their own naming standards for CICS libraries, and many (if not most) do so. I have seen sites use CICSTS41.SDFHMAC, CICSTS41.CICS.SDFHMAC, CICS41.CICS.SDFHMAC, CICS41.SDFHMAC, CICS.V4R1M0.SDFHMAC (among other names) for the specific library you need.

There is no way anyone not working AT YOUR SITE can tell what the data set name will be. The low level qualifier is usually left as SDFHMAC but again there is no requirement that it be so.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Aug 08, 2011 5:11 pm
Reply with quote

Two issues -

1) Does the program issue an EXEC CICS ADDRESS CSA API? The last version/release this was supported was CICS/ESA 3.1.1, also known as the "Hybrid" version.

2) What version/release are you assembling this program for now? If it's greater than the above 3.1.1 version/release, you'll need alternative code to gain CSA-addressability in a different manner. If your current version/release is CICS/TS 3.2 or greater, then attempting to use the TCA-address from the CSA will cause an ASRD abend as this address (always X'4C' off the CSA) became "Fetch Protected" in TS/3.2.

You've got some work to do.

For TCA-addressability, search the forum for DFHKERN or "Google" it. For CSA addressability, search the forum for DFHAFCD or "Google" it.

By chance, is this program CICS/Macro level as opposed to CICS/Command level?

If this is true, then you have more work to do than anticipated and perhaps, a total rewrite, with the possibility of some of the existing program logic salvageable. icon_eek.gif

Bill
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 08, 2011 8:20 pm
Reply with quote

Maybe the situation is not so bad.

If the program is currently working on the Sun setting application (I'm guessing, just a guess, that it is the code for that little "flash" just as the sun finally disappears), then it is compatible with the CICS you are running it under, even if you are keeping an old version for this purpose.

Although you could search for the SDFHMAC or similar qualifier yourself, since that might not be the end of your programs, I'd recommend Dick's suggestion that you find the most senior techie you can, and get their help. Otherwise the danger is you'll spend time getting through this bit, and then get stuck on the next, etc.
Back to top
View user's profile Send private message
mohanreddy_y

New User


Joined: 21 Sep 2005
Posts: 4

PostPosted: Tue Aug 09, 2011 6:27 pm
Reply with quote

Hi,

Thank you very much for all your replies. I will let you know once I get the resolution.

Thanks,
raj.
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Using API Gateway from CICS program CICS 0
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts C Compile time time stamps Java & MQSeries 10
Search our Forums:

Back to Top