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
 

 

Validation of reports generated in Assember code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
deb_parthas

New User


Joined: 24 Nov 2005
Posts: 18

PostPosted: Wed Jul 30, 2014 3:18 pm    Post subject: Validation of reports generated in Assember code
Reply with quote

Hi,
We have a set of DB2 subprograms which in turn is calling assembler routine to print some reports. We are not aware of how assember code works and how to check the reports. The JCL which executes the main program created 2 reports ( 2 DDs in JCL) but these are not getting updated by the Assember routine.
What will be the quick way to find which file/report gets created by an assember program?

Thanks,
Back to top
View user's profile Send private message

steve-myers

Active User


Joined: 30 Nov 2013
Posts: 461
Location: The Universe

PostPosted: Wed Jul 30, 2014 3:59 pm    Post subject: Re: Validation of reports generated in Assember code
Reply with quote

deb_parthas wrote:
... but these are not getting updated by the Assember [sic] routine.
What will be the quick way to find which file/report gets created by an assember [sic] program?
Why do you think some report is (or perhaps is not) created or updated by an Assembler program?

You apply the same analysis to validate a report from an Assembler program as for any report created by any other computer language. There is no "quick way."

Reading between the lines, I have to wonder if you even have the source for this alleged Assembler program. Are you also wondering how you can determine if some program (of some presumably unknown source language) creates a report?
Back to top
View user's profile Send private message
deb_parthas

New User


Joined: 24 Nov 2005
Posts: 18

PostPosted: Wed Jul 30, 2014 4:17 pm    Post subject:
Reply with quote

I see a FILLER (which comes as part of the header) and which I updated with a new value being passed while calling the assembler routine. The call is something like below

CALL TDPRT-NAME using TDPRT-FUNC-CODE REP026-REPORT REP026-HEADINGS BLOCK-LENGTH

The group variable EP026-HEADINGS contains the field I am updating. TDPRT-NAME variable contains the program TDPRT00 which is an assember routine. The routine TDPRT00 in turn calls another assembler routine TDPRT01 to print the report (although I didnt understand the code, the text/documentation inside the routine says so). Need to find out the below

1) Which piece of code in TDPRT00 is calling TDPRT01
2) Is program TDPRT01 really printing the report. If yes, how?
3) Which part of the code is performing the same.

There seems to be commands DSECT, DS, CSECT etc for file handling.
Back to top
View user's profile Send private message
steve-myers

Active User


Joined: 30 Nov 2013
Posts: 461
Location: The Universe

PostPosted: Wed Jul 30, 2014 4:50 pm    Post subject:
Reply with quote

deb_parthas wrote:
I see a FILLER (which comes as part of the header) and which I updated with a new value being passed while calling the assembler routine. The call is something like below

CALL TDPRT-NAME using TDPRT-FUNC-CODE REP026-REPORT REP026-HEADINGS BLOCK-LENGTH

...
All of this appears to be Cobol.
deb_parthas wrote:
... There seems to be commands DSECT, DS, CSECT etc for file handling.
These appear to be "Assembler instructions." Assembler instructions do not do anything at all. An Assembler program that prepares a report may have instructions like OPEN, CLOSE, PUT and DCB, with a variety of machine instructions to prepare the data areas that will be part of the report. I say "may" because it can use subroutines to actually create a report.
deb_parthas wrote:
I see a FILLER (which comes as part of the header) and which I updated with a new value ...
I'm not a Cobol programmer, but I do not think you can update a FILLER area.
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 PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Need Help in understanding what is th... mainakdalal PL/I & Assembler 9 Mon Oct 03, 2016 8:03 pm


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