Code Snippet (Assembler)



Code Snippet (Assembler)

Postby RISCCISCInstSet » Sun Nov 13, 2011 2:06 am

Something I'm trying to understand:

Will this code snippet work? Why/why not?

Would you prefer I just RTFM?

INFILE    DCB  DSORG=PS,                                               X
               MACRF=(GM),                                             X
               DEVD=DA,                                                X
               DDNAME=INFILE,                                          X
               EODAD=ENDDATA,                                          X
               RECFM=FB,                                               X
               LRECL=80
RISCCISCInstSet
User avatar
RISCCISCInstSet
 
Posts: 121
Joined: Mon Oct 17, 2011 1:46 pm
Has thanked: 146 times
Been thanked: 0 time

Re: Code Snippet (Assembler)

 

Re: Code Snippet (Assembler)

Postby RISCCISCInstSet » Sun Nov 13, 2011 2:18 am

Another thing: I am trying to access a windows text file, and an emulator (z390) is being used.
RISCCISCInstSet
User avatar
RISCCISCInstSet
 
Posts: 121
Joined: Mon Oct 17, 2011 1:46 pm
Has thanked: 146 times
Been thanked: 0 time

Re: Code Snippet (Assembler)

Postby RISCCISCInstSet » Sun Nov 13, 2011 3:24 am

Please disregard this topic - it's no longer needed.
RISCCISCInstSet
User avatar
RISCCISCInstSet
 
Posts: 121
Joined: Mon Oct 17, 2011 1:46 pm
Has thanked: 146 times
Been thanked: 0 time

Re: Code Snippet (Assembler)

Postby BillyBoyo » Sun Nov 13, 2011 5:50 am

Less than 90 minutes and you got it yourself. That's what the fine manuals and a bit of application can do.

Will this code work? is not such a good question. Will it assembler? Will it run? Will it do what I want? It is not just a case of showing the code snippet, we'd have needed the listing from the assembler, any output from running it, your inputs and expected results, what you have done to research the problem yourself, etc.

I don't think you are a troll by the way.

These users thanked the author BillyBoyo for the post:
RISCCISCInstSet (Mon Nov 12, 2012 5:19 am)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Code Snippet (Assembler)

Postby RISCCISCInstSet » Sun Nov 13, 2011 7:05 am

Thanks for the advice and for not regarding me as a troll.
RISCCISCInstSet
User avatar
RISCCISCInstSet
 
Posts: 121
Joined: Mon Oct 17, 2011 1:46 pm
Has thanked: 146 times
Been thanked: 0 time


Return to Stupid Questions

 


  • Related topics
    Replies
    Views
    Last post