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

what is usage of QENTERS and QMVC in assembler s/390?


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chitanya

New User


Joined: 25 Jan 2008
Posts: 6
Location: Hyderabad

PostPosted: Wed Apr 15, 2009 2:36 pm
Reply with quote

Hi

Can anyone please help me to know the usage of QENTERS and QMVC macros in assembler s/390.
I need syntax format also.

Thanks in advance...
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Apr 15, 2009 3:49 pm
Reply with quote

AFAIK, these aren't documented IBM Assembler Macros and they're probably "In-House" written (IE: Site Specific).

Have you consulted with any of your colleagues?

When you view the source, is there any documentation (comments) within the Macro's themselves regarding their origin and/or usage?

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

New User


Joined: 25 Jan 2008
Posts: 6
Location: Hyderabad

PostPosted: Wed Apr 29, 2009 6:53 pm
Reply with quote

I am not an expert in assembler need to convert a assembler programs to cobol program.

I found QENTERS at the starting line of the program

Code:
CA015M04 QENTERS 'CA015M04 - RECORD CREATION AND AMENDMENTS',R11,R10   
CA015M04 AMODE 31                                                       
CA015M04 RMODE ANY                                                 
         SPACE 3       


Please i need the format or need of the instruction to decode into cobol
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 29, 2009 7:00 pm
Reply with quote

You asked 15 days ago and You got a reasonable answer

QENTERS and QMVC are not standard IBM macros
ask somebody inside Your organization

at first glance QENTERS looks like a macro to carry on the initial housekeeping in the assembler program
it does not have an equivalent High Level Language equivalent
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 29, 2009 9:36 pm
Reply with quote

Hello,

When converting from assembler to cobol, it is not a good proctice to try to convert line by line. . .

A far better approach is to understand what business process is provided by the assembler code and write cobol code that provides the same functionality. Many things in assembler do not have a 1-to-1 equivelent in cobol. The part of the assembler code that requires the best understanding is the implementation of business rules - not "housekeeping" and file definition/access.

Both programs should be able to read the input and produce the exact same output.
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts How Can I Recall a Migrated Data Set ... PL/I & Assembler 3
No new posts STEM usage in REXX CLIST & REXX 14
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top