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

Which reference or manual should I have?


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

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Thu Sep 11, 2008 12:38 pm
Reply with quote

Code:

...
005      CLC   0(5,RX),=C'     '       BLANK PER UNIT?             
         BE    007                     YES, GO WRITE REJECT       
         CLC   5(10,RX),=C'          ' BLANK EMPLOYEE ID?         
         BNE   010                     NO, PROCESS                 
007      BAL   SYSUT3(RX)              ELSE WRITE TO REJECT FILE   
         BAL   DELETE(RX)              GET NEXT RECORD     
         B     005                     AND CONTINUE                 
*                                                                   
010      MVC   0(15,RZ),0(RX)          START OF RECORD             
         MVC   15(1,RZ),=C'1'          SET DEMOGRAPHIC RECORD FLAG 
         MVC   16(118,RZ),15(RX)       REST OF RECORD               
         MVC   134(10,RZ),=C'          ' ADD 10 SPACES
         MVC   144(3,RZ),=C'USA'       ADD COUNTRY             
020      BAL   SYSUT2(RZ)              WRITE                   
         BAL   DELETE(RX)              GET NEXT RECORD         
         B     005                     AND CONTINUE             
         END
...


Can anybody tell me what reference or manual should I use to understand the above codes?

Many thanks!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 11, 2008 12:49 pm
Reply with quote

the overall look is assembler, but the format of the statements

Code:
007      BAL   SYSUT3(RX)              ELSE WRITE TO REJECT FILE   
         BAL   DELETE(RX)              GET NEXT RECORD     
.............
020      BAL   SYSUT2(RZ)              WRITE                   
         BAL   DELETE(RX)              GET NEXT RECORD         


and numeric labels hint something else

the best thing is to ask Your peers

here is a link to a similar/same issue
http://ibmmainframes.com/viewtopic.php?t=30889&highlight=bal+sysut2
Back to top
View user's profile Send private message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Thu Sep 11, 2008 12:55 pm
Reply with quote

thanks!
But I am just wanting to know CLC, BE, BNE, BAL, B, such commands' definination and usague in some manual.

I looked them up in 'High Level Assembler for MVS & VM & VSE Programmer’s Guide Release 4' the IBM document, but found no such details.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 11, 2008 1:23 pm
Reply with quote

Principle of Operations
( not the latest one but enough for basic instructions )

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DZ9AR004/CCONTENTS?SHELF=EZ2HW125&DN=SA22-7201-04&DT=19970613131822
Back to top
View user's profile Send private message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Thu Sep 11, 2008 3:02 pm
Reply with quote

THANK YOU! icon_smile.gif
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 Reference for COND parameter. JCL & VSAM 1
No new posts Reference documentation DFSDDLT0 IMS DB/DC 2
No new posts Trying to reference a javascript glob... CLIST & REXX 7
No new posts DITTO/ESA R3 User's Guide and Referen... IBM Tools 3
No new posts Mainframe ASSEMBLER LEARNING MANUAL w... PL/I & Assembler 2
Search our Forums:

Back to Top