Can't Find Data

User avatar
RISCCISCInstSet
Posts: 121
Joined: Mon Oct 17, 2011 1:46 pm
Skillset: knowledge of z/os interface
limited knowledge of z/os oriented languages
Referer: ixquick.com [search engine]

Can't Find Data

Postby RISCCISCInstSet » Tue Nov 29, 2011 4:43 am

The assembler is having trouble finding this program's variables, but I'm having trouble giving them to it. Could you give me some help?

Code: Select all

MAIN    CSECT
MAIN    SETUP
     CALL   WRITE,(MSG),VL
     ENDIT
     DS    0F
     MSG     DC    AL2(MSGE-MSGB)
     MSGB    DC    C'some nice message'
     MSGE    EQU   *
     message DS    CL13
*     â€¦
     END MAIN
WRITE    CSECT
*     â€¦
*    somehow move message
     USING *,12
     OPEN  outpupile
     MVC   message,MSGB
     PUT   outpupile,message
     CLOSE  outpupile
     RETURN   (14,12),T,RC=0
     END
RISCCISCInstSet