View previous topic :: View next topic
|
Author |
Message |
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
|
|
hi,
when i tried to debugg a online cics module in XPEDITER,some few steps got skipped .those steps didnt get executed.
those steps were simple MOVE statements,as these steps were skipped the values to be moved were didnt moved .
so if any one knows abt why is this happening and how to resove this issue, pls get back to me on this.
Thanks in Advance.
Arun BV |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
when you have 2 or more contiguous fields and you have single field moves,
and there is no conversion involved,
the optimizer will generate a move for the first instruction with a length equal to the length of all the contiguous fields,
and not generate a move for the remaining instructions.
look at the assembler generated and you will see the length of the first move is equal to all the fields.
there will be no generated assembler instructions for the remaining fields,
thus it will 'appear' that xpeditor 'skips' the remaining fields.
The only issue to resolve is user awareness. |
|
Back to top |
|
|
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
|
|
these are the stmts
MOVE 1 TO NBA-TYPE.
MOVE WS-NT-ID TO NBA-NT-ID.
MOVE WS-RP-ID TO NBA-RP.
when abt to execute MOVE 1 TO NBA-TYPE it skipped next two lines. and when i checked the values using KEEP command , those variables(NBA-NT-ID,NBA-RP) were filled with garbage, not with WS-NT-ID and WS-RP-ID . |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
change the order of your move instructions. |
|
Back to top |
|
|
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
|
|
thanks for your immediate response.
im a new minframe user.tats why im getting lot of doubts.
so will the order of move statements matters?
because i have to popualate these var in order to call another module ,these var were passed thru dfhcommarea. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
so will the order of move statements matters? |
are you waiting on an answer before trying what I suggested?
Quote: |
because i have to popualate these var in order to call another module ,these var were passed thru dfhcommarea. |
i hope you do not mean that you have to populate field1 first, then field2, etc... |
|
Back to top |
|
|
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
Back to top |
|
|
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
|
|
hi ,
you are right, that program in xpediter is optimized ,when i view the help option ,it is telling that follow the recommendations
Compuware Recommendations :
We recommend that you compile with the NOOPT (equivalent of OPT(0)) and NOINLINE (if supported by your compiler) options when preparing your program for debugging with Xpediter/CICS. These compile options ensure that the code generated by the compiler corresponds exactly to your source
code. This will allow you to accurately test and debug your program.
im using changeman Version = 6.1.1B.
if anyone know how to compile a cics module with the NOOPT (equivalent of OPT(0)) and NOINLINE .
pls let me know |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
compiler options can be inbedded in the source code (actually, inserted as first lines) |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Enterprise COBOL does not have an INLINE (or NOINLINE) option. |
|
Back to top |
|
|
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
|
|
hi can anyone tell me how to insert complier options in source code |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
No - but the manual can |
|
Back to top |
|
|
nigelosberry
New User
Joined: 06 Jan 2009 Posts: 88 Location: Ggn, IN
|
|
|
|
Arun bv wrote: |
these are the stmts
MOVE 1 TO NBA-TYPE.
MOVE WS-NT-ID TO NBA-NT-ID.
MOVE WS-RP-ID TO NBA-RP.
when abt to execute MOVE 1 TO NBA-TYPE it skipped next two lines. and when i checked the values using KEEP command , those variables(NBA-NT-ID,NBA-RP) were filled with garbage, not with WS-NT-ID and WS-RP-ID . |
Make sure that these statements are not commented in your source program(I am sure that they will not be, but just to be on the safer side).
btw did you try changing the order of your move statements? |
|
Back to top |
|
|
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
|
|
i changed the sequence of MOVE statements(those stmts are not commented) and tried also using nopt(compilar options) before compilation of the module.but finally its of no use ,,,,its totally bugging me..
can anyone come up with the solutions..... |
|
Back to top |
|
|
nigelosberry
New User
Joined: 06 Jan 2009 Posts: 88 Location: Ggn, IN
|
|
|
|
Arun bv wrote: |
i changed the sequence of MOVE statements(those stmts are not commented) and tried also using nopt(compilar options) before compilation of the module.but finally its of no use ,,,,its totally bugging me..
can anyone come up with the solutions..... |
can you copy-paste the whole SECTION(where you are doing these MOVEs) here? I mean the whole section from the compiler listing as you see in Xpeditor session. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
No response from TS.
I have thought about this for a while,
and xpeditor is in about 100-thousand installations.
The TS is full of BULL.
he has not bothered to provide all the information.
a word to others.
yes, xpeditor will optimize things.
as i indicated, if you have contiguous moves of contiguous items (none requiring conversion),
xpeditor will make one (1) move (for the length of all items)
and not generate code for each individual move.
again, double check your code, and insure that you have nothing
improperly coded.
i repeat, the TS is full of BULL |
|
Back to top |
|
|
|