View previous topic :: View next topic
|
Author |
Message |
neha trivedi
New User
Joined: 19 Aug 2008 Posts: 9 Location: bangalore
|
|
|
|
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 |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10896 Location: italy
|
|
|
|
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 |
|
 |
neha trivedi
New User
Joined: 19 Aug 2008 Posts: 9 Location: bangalore
|
|
|
|
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 |
|
 |
Srihari Gonugunta
Active User

Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
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 |
|
 |
neha trivedi
New User
Joined: 19 Aug 2008 Posts: 9 Location: bangalore
|
|
|
|
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 |
|
 |
Srihari Gonugunta
Active User

Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
It will be treated as a copy book only (symbolic map). |
|
Back to top |
|
 |
neha trivedi
New User
Joined: 19 Aug 2008 Posts: 9 Location: bangalore
|
|
|
|
kindly give me a sample archdef for a cics-db2-cobol prog. |
|
Back to top |
|
 |
|