Author |
Message |
Topic: put GDG number in output file. |
DaveyC
Replies: 11
Views: 8678
|
Forum: Application Programming Posted: Tue Mar 09, 2010 1:45 am Subject: put GDG number in output file. |
Here is the code for a locate routine. Linkage is left as an exercise.
LOCATE CSECT , 00290105
LOCATE AMODE 31 ... |
Topic: Assembler: Different alignments |
DaveyC
Replies: 4
Views: 4050
|
Forum: Application Programming Posted: Tue Dec 22, 2009 8:20 am Subject: Assembler: Different alignments |
Not to mention consistency. If you write mutli-tasking programs aligning data on integral boundaries ensures consistency across multiple CPUs. This is called a sequential memory model. Other hardware, ... |
Topic: Regarding __date__ __time__ and localtime in Z/OS |
DaveyC
Replies: 1
Views: 2651
|
Forum: Application Programming Posted: Fri Jun 05, 2009 4:43 am Subject: Regarding __date__ __time__ and localtime in Z/OS |
__DATE__ and __TIME__ are compiler generated timestamps. That's a terrible idea and you should abandon it right now. They're constants!
If this is to do with POSIX(ON) it's probably displaying GMT ... |
Topic: How to know POSIX is ON or OFF in JCL |
DaveyC
Replies: 6
Views: 5492
|
Forum: Application Programming Posted: Fri May 29, 2009 8:09 am Subject: How to know POSIX is ON or OFF in JCL |
If you check that link you will see I already gave you a solution. |
Topic: Assembler for training |
DaveyC
Replies: 3
Views: 2958
|
Forum: Application Programming Posted: Mon May 25, 2009 6:25 am Subject: Assembler for training |
http://www.z390.org/ |
Topic: Counting Bytes of a dataset |
DaveyC
Replies: 7
Views: 5668
|
Forum: TSO and ISPF Posted: Thu May 21, 2009 10:07 am Subject: Counting Bytes of a dataset |
Just out of curiosity I tried to send regular FB80 libraries via FTP to the receiving LPAR, and we often had corrupted members and even corrupted files. Therefore, a FTP transmission ending with a R ... |
Topic: Counting Bytes of a dataset |
DaveyC
Replies: 7
Views: 5668
|
Forum: TSO and ISPF Posted: Tue May 19, 2009 8:46 am Subject: Counting Bytes of a dataset |
Is this thread a bit silly. If you transfer a data set via FTP and there was a failure FTP will return with a > 0 return code. Shouldn't you be checking the return code from FTP? |
Topic: how to know when is a job started? |
DaveyC
Replies: 6
Views: 4211
|
Forum: TSO and ISPF Posted: Mon May 18, 2009 3:09 am Subject: how to know when is a job started? |
Not sure if this is what you wanted, but programmatically, if you're sitting on your TSO id and you want to be 'notified' when the job starts, try adding this step to the top of your job(s) :
//NO ... |
Topic: Counting Bytes of a dataset |
DaveyC
Replies: 7
Views: 5668
|
Forum: TSO and ISPF Posted: Mon May 18, 2009 3:01 am Subject: Counting Bytes of a dataset |
And how do you transfer PO datasets via FTP? I would just use AMATERSE which unloads the dataset to a sequential file and transfer that. It's got CRC checking - no worries.
Counting bytes is a usel ... |
Topic: Secure coding |
DaveyC
Replies: 8
Views: 7460
|
Forum: Application Programming Posted: Mon May 18, 2009 2:52 am Subject: Secure coding |
All brilliant answers by semigeezer.
I don't think that an LE COBOL program can run authorized. LE is designed for key 8 programs and would choke when initializing the environment. AFAIK, the onl ... |
Topic: To get localtime in MVS |
DaveyC
Replies: 4
Views: 4480
|
Forum: Application Programming Posted: Mon May 18, 2009 12:20 am Subject: To get localtime in MVS |
BTW, the dateTimeStrLen-1 seems odd. the maxsize of the strftime takes the null terminator into account. So it's safe to use sizeof buffer for that parameter. |
Topic: To get localtime in MVS |
DaveyC
Replies: 4
Views: 4480
|
Forum: Application Programming Posted: Mon May 18, 2009 12:15 am Subject: To get localtime in MVS |
Try the __isPosixOn runtime function. |
Topic: How to know POSIX is ON or OFF in JCL |
DaveyC
Replies: 6
Views: 5492
|
Forum: Application Programming Posted: Mon May 18, 2009 12:06 am Subject: How to know POSIX is ON or OFF in JCL |
I can think of no way in JCL to check if POSIX is on. JCL is a very basic scripting language.
What exactly is you're requirement? |
Topic: Float Decimal data type |
DaveyC
Replies: 8
Views: 4345
|
Forum: Application Programming Posted: Tue Mar 11, 2008 4:15 am Subject: Float Decimal data type |
I work in Banks/insurance/transportation companies; never had to use float, as the precision sucks.
decimal floating point is now here, in hardware, and it absolutely nukes packed decimal, which a ... |
Topic: STCK |
DaveyC
Replies: 2
Views: 2625
|
Forum: Application Programming Posted: Tue Mar 11, 2008 4:07 am Subject: STCK |
STCK is an instruction not a macro and it has not changed. That would break compatibility which is not something mainframes do! |
|