Do you mean IBM mainframe assembler or PC assembler?<br>I have code (my own) for mainframes, but could ship a step-by-step<br>description for binary sorting.
First declare how much memory you want to set <br>
aside for a given field. Either a DC or a DS will<br>
do this. The difference is a DS merely reserves <br>
the memory but doesn't change the contents of the<br>
memory, while a DC reserves the memory and stores <br>
a constant in it. <br>...
I use PSP a lot. I'm using v5, but I started <br>
with v3 a couple of years ago. The "capture"<br>
feature was the original reason I bought it,<br>
but then I saw everything it can do. I use<br>
it exclusively to construct animated GIFs for <br>
my web page (along with the GIF...
The INSPECT worked like a champ.<br>
I used <br>
INSPECT WS-FIELD<br>
CONVERTING 'abcdefghijklmnopqrstuvwxyz'<br>
TO 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'<br>
and the reverse (to convert upper to lower case).<br>
The reverse also worked.<br>
It doesn't care how many times a...
Good idea! In fact, I just came across a new<br>
implementation for INSPECT on COBOL II , release 3<br>
and later:<br>
INSPECT WS-FIELD <br>
CONVERTING 'abcd...' TO 'ABCD...'<br>
I'll try and let you know what happened. <br>
Thanks.
Should have specified that. Yes, I'm converting<br>
a CICS macro level assembler program to a CICS<br>
COBOL OS/390 program. I could use an Assembler<br>
CALL subroutine to do the job, but my clients<br>
would rather COBOL be used. Thanks.
Have a need to convert terminal input from lower to upper case, but<br>
it must be accomplished with COBOL language; no calls to Assembler<br>
are acceptable to the site.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.