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
 

 

Assembler program compile issues

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Assembler program compile issues
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Aug 08, 2011 9:33 am    Post subject: Reply to: Assembler program compile issues
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

Site Director


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

PostPosted: Mon Aug 08, 2011 10:18 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Aug 08, 2011 3:44 pm    Post subject:
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    Post subject:
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: 7905
Location: Bellevue, IA

PostPosted: Mon Aug 08, 2011 4:48 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Aug 08, 2011 5:11 pm    Post subject: Reply to: Assembler program compile issues
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Mon Aug 08, 2011 8:20 pm    Post subject:
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    Post subject: Reply to: Assembler program compile issues
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts COBOL 5 Compile oerdgie COBOL Programming 3 Thu Oct 06, 2016 6:14 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm
No new posts Need points to tune IMS Checkpoint Pr... satish.ms10 IMS DB/DC 2 Fri Sep 30, 2016 4:12 pm


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