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
 

 

archdef for a db2-cics-cobol program??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
neha trivedi

New User


Joined: 19 Aug 2008
Posts: 9
Location: bangalore

PostPosted: Wed Aug 27, 2008 9:16 pm    Post subject: archdef for a db2-cics-cobol program??
Reply with quote

hi

i need to build a db2-cics-cobol program.this program includes a map through the COPY command.

the problem is that while building the program SCLM translator is treating the map as a cobol code instead of a BMS.

can anyone tell me where i am going wrong and provide me with the archdef for a db2-cics-cobol program
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Aug 27, 2008 9:21 pm    Post subject: Reply to: archdef for a db2-cics-cobol program??
Reply with quote

You should have two archdefs...

lang cobol/cics/db2 with the proper stages defined

lang bms/map with the proper stages
- sclm preprocessor,
- assembler for the dsect
- assembler for the map
- linkage editor for the map

and You should bukd and promote in parallel,
usually first the map and after that the program
usually the map gets less updates and builds than the program
Back to top
View user's profile Send private message
neha trivedi

New User


Joined: 19 Aug 2008
Posts: 9
Location: bangalore

PostPosted: Thu Aug 28, 2008 11:19 am    Post subject:
Reply with quote

could you please give me a sample archdef for a db2-cics-cobol prog.

the one i am using is
SINC XXXXXXXX SOURCE
OBJ XXXXXXXX OBJ
LIST XXXXXXXX SRCLIST
OUT1 XXXXXXXX DBRMLIB
OUT2 XXXXXXXX SYSDEBUG
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Thu Aug 28, 2008 11:28 am    Post subject:
Reply with quote

Please check if you have declared the BMS as type cobol. If its proper, try to compare the definition of your archdef with some existing archdef. Archdefs may vary from shop to shop depending upon PROJDEFS definition.
Back to top
View user's profile Send private message
neha trivedi

New User


Joined: 19 Aug 2008
Posts: 9
Location: bangalore

PostPosted: Thu Aug 28, 2008 11:36 am    Post subject:
Reply with quote

i have declared the map as bms only..i have also built it through SCLM.
it is successfuly done but while building the main program it is treated as cobol only....i am confused
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Thu Aug 28, 2008 12:05 pm    Post subject:
Reply with quote

It will be treated as a copy book only (symbolic map).
Back to top
View user's profile Send private message
neha trivedi

New User


Joined: 19 Aug 2008
Posts: 9
Location: bangalore

PostPosted: Thu Aug 28, 2008 12:42 pm    Post subject:
Reply with quote

kindly give me a sample archdef for a cics-db2-cobol prog.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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