Page 1 of 1

Code Snippet (Assembler)

PostPosted: Sun Nov 13, 2011 2:06 am
by RISCCISCInstSet
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

Re: Code Snippet (Assembler)

PostPosted: Sun Nov 13, 2011 2:18 am
by RISCCISCInstSet
Another thing: I am trying to access a windows text file, and an emulator (z390) is being used.

Re: Code Snippet (Assembler)

PostPosted: Sun Nov 13, 2011 3:24 am
by RISCCISCInstSet
Please disregard this topic - it's no longer needed.

Re: Code Snippet (Assembler)

PostPosted: Sun Nov 13, 2011 5:50 am
by BillyBoyo
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.

Re: Code Snippet (Assembler)

PostPosted: Sun Nov 13, 2011 7:05 am
by RISCCISCInstSet
Thanks for the advice and for not regarding me as a troll.