Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all 8500 articles
Browse latest View live

CICS :: RE: CICS Roll back partially - Need to retain log file

$
0
0
Author: Robert Sample
Posted: Thu Nov 24, 2016 8:13 pm (GMT 5.5)

Have you talked to your site CICS support group? If not, start there and see what they say. The CICS manual description of SYNCPOINT ROLLBACK states that ALL resources are rolled back together; leaving the log while rolling back everything else would seem to me to leave the system in an inconsistent state --NOT a good thing.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth


CICS :: RE: Invoke Webservice Fails with DFHPI1009 error

$
0
0
Author: Robert Sample
Posted: Thu Nov 24, 2016 8:28 pm (GMT 5.5)

First, posting in multiple area does NOT get you better or faster responses -- the same people who respond on CICS also read the JCL topics.

Second, responses on this forum are voluntary so people respond when they have time and knowledge of the issue. It may be hours, or days, or weeks, or longer between the time a post is made and the time any responses come in. This is normal. Prompting for responses has the negative effect of making it LESS likely to get responses since anyone who has the knowledge and time will weigh responding against the harassment factor.

Third, you are asking questions about a topic that is NOT widely used, so the response base is limited. My recommendation would be to manually change the copy book to meet your needs rather than trying to tweak the DFHWS2LS parameters. If you insist you have to change the parameters, you may need to raise an issue with IBM (if your site has paid for the right to ask questions instead of merely raising problems; if your site has not paid to be able to ask questions of IBM, you may not be able to get an answer to your post -- not from IBM, not from this forum, not from ANY forum). Not all questions on a forum get answered.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

IMS DB/DC :: RE: IMS BMP program causes 878 system abend

$
0
0
Author: dbzTHEdinosauer
Posted: Thu Nov 24, 2016 9:27 pm (GMT 5.5)

if it is an old application - written with old cobol - you may have to compile a bunch to 32bit to get them to load above the line.
if your application is old enough, you are looking at a retirement project.
_________________
Dick Brenholtz

Programming Languages, SQL and JCL have the tendency to do what you coded,
not necessarily what you wanted.

CICS :: RE: CICS Roll back partially - Need to retain log file

$
0
0
Author: dbzTHEdinosauer
Posted: Thu Nov 24, 2016 9:47 pm (GMT 5.5)

since you (should) know how the system operates,
application is responsible for appropriate application messaging,
which this situation clearly is.

do not forget that cics messages and logs have to do with cics behavior
and
not application decisions.
_________________
Dick Brenholtz

Programming Languages, SQL and JCL have the tendency to do what you coded,
not necessarily what you wanted.

CICS :: RE: DFHWS2LS return value

$
0
0
Author: Nic Clouston
Posted: Fri Nov 25, 2016 3:14 am (GMT 5.5)

Please use the code tags when posting stuff from your screen.

Still do not know what you are talking about but it would appear not to JCL or VSAM. It may be COBOL, CICS or USS. Moving to CICS to start with.
_________________
Regards
Nic

IBM Tools :: RE: File Aid to File Manager conversion

$
0
0
Author: Nic Clouston
Posted: Fri Nov 25, 2016 3:21 am (GMT 5.5)

If that is Rexx code then remove the ',' that is after the first ')' and see if that helps. Does File Manager support '\' as NOT?

Use the code tags when posting stuff from the screen.
_________________
Regards
Nic

CICS :: RE: Invoke Webservice Fails with DFHPI1009 error

$
0
0
Author: dbzTHEdinosauer
Posted: Fri Nov 25, 2016 4:06 am (GMT 5.5)

If an XML decimal constraining facet of type fractionDigits is supplied
then the DEFAULT-FRACTION-DIGITS value is not used.

have you investigated that?
_________________
Dick Brenholtz

Programming Languages, SQL and JCL have the tendency to do what you coded,
not necessarily what you wanted.

COBOL Programming :: How to find the first monday of the week.

$
0
0
Author: abdulrafi
Subject: How to find the first monday of the week.
Posted: Fri Nov 25, 2016 3:24 pm (GMT 5.5)

Hi,

I have to find out the first Monday of a particular week given.

For instance if the week is 47 (input) of this year, then I would need the output as 11/21/2016.

Can anyone please help if we have a routine to find out ?.
_________________
Thanks,
Abdul Rafi


CA Products :: IDEAL - Code Retrieval

$
0
0
Author: yugendran
Subject: IDEAL - Code Retrieval
Posted: Fri Nov 25, 2016 3:27 pm (GMT 5.5)

Dear all,

I would like to know, is there a utility which will download the IDEAL source code into a PDS. I would like to run a REXX script to get some statistics. What would be the best way to get the source?

Regards,
Yugendran
_________________
We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time. - T.S.Eliot

COBOL Programming :: RE: How to find the first monday of the week.

$
0
0
Author: Akatsukami
Posted: Fri Nov 25, 2016 6:08 pm (GMT 5.5)

There is only one Monday in a week icon_razz.gif

As for what that day is, get Sunday from (week-1)*7, then add 1 to get Monday.
_________________
Data is not information.
Information is not knowledge.
Knowledge is not wisdom.

COBOL Programming :: RE: How to find the first monday of the week.

$
0
0
Author: Terry Heinze
Posted: Fri Nov 25, 2016 8:08 pm (GMT 5.5)

Quote:
There is only one Monday in a week

Sometimes it feels like there are more than one. icon_smile.gif
_________________
.... Terry

COBOL Programming :: RE: How to find the first monday of the week.

$
0
0
Author: Robert Sample
Posted: Fri Nov 25, 2016 9:54 pm (GMT 5.5)

COBOL does not have great date processing functions, so there is no routine to do what you want. You will need to write one yourself. And since you provided almost nothing about what you need in your post, the routine will have to be written by you.

Questions you did not answer in your post include:
- Will the week number always be for this year?
- How is the week number determined -- from Sunday? from Monday? from some other day?
- What happens when the year changes during the week (for example, in 2019 the first of January is on a Tuesday)?
- What if the week number comes in as something greater than 53?

Once you have a complete determination of the requirements, writing a routine is pretty easy -- convert the date for the Monday of week 1 to integer using the intrinsic function, add 7 times the week number to that value, then convert back to a date using the intrinsic function. That assumes you're only dealing with week numbers for a single year, of course.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

COBOL Programming :: RE: How to find the first monday of the week.

$
0
0
Author: enrico-sorichetti
Subject: Reply to: How to find the first monday of the week.
Posted: Fri Nov 25, 2016 10:11 pm (GMT 5.5)

the only thing that the TS should have told is
if they use the ISO standard to handle the week number

if the TS organisation uses a different algorithm nothing we can say

anyway it is enough to determine the date of the monday of the first ISO week of a year

and after everything should be easy
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif

IBM Tools :: RE: File Aid to File Manager conversion

$
0
0
Author: bam390
Subject: suggestion - Rexx
Posted: Sat Nov 26, 2016 5:29 pm (GMT 5.5)

One suggestion - If you already know plain Rexx under TSO, You might want to consider converting the File Aid jobs to IKJEFT01/Rexx .

This would be viable if the sizes of the data are not too large. The File Manager FASTREXX is meant to handle large amounts of data. But FASTREXX does require some relearning if you are a IKJEFT01/Rexx programmer.
_________________
bam

IBM Tools :: RE: File Aid to File Manager conversion

$
0
0
Author: bam390
Subject: suggestion - DFSORT and SORT Tool
Posted: Sat Nov 26, 2016 5:41 pm (GMT 5.5)

Look into the capabilities of DFSORT by googling "Sort Tricks".

Sort Tricks:







_________________
bam


IBM Tools :: RE: File Aid to File Manager conversion

$
0
0
Author: Robert Sample
Posted: Sat Nov 26, 2016 8:48 pm (GMT 5.5)

Code:
    IF=(150,EQ,C'B,D,S,M,M1,M2,2Z,P,V,F'),
This line of File Aid is comparing the one - or two - bytes starting at 150 against B, against D, against S, and so forth. In other words, it is a short way to use OR statements. File Aid is not comparing anything after byte 151 with this command. RA in File Aid is REPLACE ALL.

I would expect you need to use File Manager filtering to replicate the File Aid code (or use something other than File Manager such as DFSORT or REXX).

I would think the question is how the File Aid code was not converted before the product was not available any more.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

Mainframe Jobs :: Urgent Mainframe Requirments (2-10 yrs exp)

$
0
0
Author: Shankar779
Subject: Urgent Mainframe Requirments (2-10 yrs exp)
Posted: Sun Nov 27, 2016 1:48 pm (GMT 5.5)

[b]
Hi All,

Please share your profile to Shankar_mf77@yahoo.com , if you are looking for job change.

Experience - 2 to 10 years

Skill -

Mainframe zOS
Mainframe Storage Admin
Mainframe CICS
Mainframe MQ
Mainframe High Availability
Mainframe Zos Automation
Mainframe DB2 System Admin
Mainframe IMS DB Administrator


Along with your profile share the following details -

PAN
Mobile No
Date of Birth
Current location and preference
Current and Expected Package


Thanks,
Shankar

COBOL Programming :: RE: How to find the first monday of the week.

$
0
0
Author: abdulrafi
Posted: Mon Nov 28, 2016 10:17 am (GMT 5.5)

Hi Robert,

To answer your questions,

Questions you did not answer in your post include:
- Will the week number always be for this year? - no it changes. it can be for different years.
- How is the week number determined -- from Sunday? from Monday? from some other day? - I do have a file where the week number is populated. This serves as an input for me.
- What happens when the year changes during the week (for example, in 2019 the first of January is on a Tuesday)? - In this case I should hold the value as 31/12/2018.
- What if the week number comes in as something greater than 53? - I do have a file as input which holds only valid values. So nothing would be greater than 53.


Sorry that I did not understand your point, "convert the date for the Monday of week 1 to integer using the intrinsic function, add 7 times the week number to that value, then convert back to a date using the intrinsic function".
_________________
Thanks,
Abdul Rafi

COBOL Programming :: RE: How to find the first monday of the week.

$
0
0
Author: abdulrafi
Posted: Mon Nov 28, 2016 10:31 am (GMT 5.5)

Dear Akatsukami,

I went by your logic, "get Sunday from (week-1)*7, then add 1 to get Monday".


For ex: 47th week is from 21st Nov to 27th Nov. So I calculated it as,
(47-1)*7 = 322, then added 1,= 322+1 = 323. This 323rd day is Nov 18th which is Friday.

Please let me know if I am missing something here.
_________________
Thanks,
Abdul Rafi

COBOL Programming :: RE: How to find the first monday of the week.

$
0
0
Author: Bill Woodger
Subject: Reply to: How to find the first monday of the week.
Posted: Mon Nov 28, 2016 11:43 am (GMT 5.5)

Why do you have to find a Monday? What will you use it for? What if a Monday is public holiday?

You were told that adding one to the date of the Sunday in the previous week would be the Monday in the current week. That also depends on which is your first day of the week.

Viewing all 8500 articles
Browse latest View live