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

archdef for a db2-cics-cobol program??


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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Aug 27, 2008 9:21 pm
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top