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

JCL & VSAM :: RE: Updating a VSAM file with DISP=OLD

Author: daveporcelan Posted: Tue Mar 14, 2017 6:18 pm (GMT 5.5) The answer is....or first my update job will run and then rest of the read jobs? Your Job will enqueue the dataset. Any job after that...

View Article


Image may be NSFW.
Clik here to view.

DFSORT/ICETOOL :: RE: SORT VSAM file with each field one by one into output file

Author: Pandora-Box Posted: Tue Mar 14, 2017 6:25 pm (GMT 5.5) Can you post what you have tried? Thanks Enrico _________________To understand recursion, You must understand recursion Pandora

View Article


DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: vinu78 Subject: Reply to: JCL to Set Return code based on DB2 SQL query result Posted: Tue Mar 14, 2017 6:44 pm (GMT 5.5) Hi All, I did something like this. Wrote 3 steps - Step1 will make use...

View Article

JCL & VSAM :: RE: Updating a VSAM file with DISP=OLD

Author: steve-myers Posted: Tue Mar 14, 2017 7:12 pm (GMT 5.5) I'm pretty sure Mr. Porcelan's description is correct. I think I have seen this behavior myself. But is there any formal statement this is...

View Article

JCL & VSAM :: RE: Updating a VSAM file with DISP=OLD

Author: daveporcelan Posted: Tue Mar 14, 2017 7:31 pm (GMT 5.5) I just ran a TEST (imagine that) to confirm my answer. I does indeed work as expected.

View Article


DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: Robert Sample Posted: Tue Mar 14, 2017 7:37 pm (GMT 5.5)Quote:Is there any way to reset the max return code back to 0, immediately after STEP03.It depends upon why you want to reset it -- for...

View Article

DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: daveporcelan Posted: Tue Mar 14, 2017 7:53 pm (GMT 5.5) Rather than using 4 and 8, use 1 and 2 for your maxcc. Step three would be run when < 2 You can then code later steps with these codes...

View Article

JCL & VSAM :: RE: Updating a VSAM file with DISP=OLD

Author: Robert Sample Posted: Tue Mar 14, 2017 8:03 pm (GMT 5.5) The z/OS 2.1 JCL User's Guide says on page 110 Quote:Exclusive control of a data set When a job has exclusive control of a data set, no...

View Article


JCL & VSAM :: RE: Updating a VSAM file with DISP=OLD

Author: sheersh Subject: Reply to: Updating a VSAM file with DISP=OLD Posted: Tue Mar 14, 2017 8:03 pm (GMT 5.5) thanks guys. it helps!_________________Thanks, Sheersh G

View Article


DFSORT/ICETOOL :: RE: SORT VSAM file with each field one by one into output file

Author: maxsubrat Subject: Reply to: SORT VSAM file with each field one by one into output file Posted: Tue Mar 14, 2017 8:10 pm (GMT 5.5) I tried with OUTFIELD BUILD with using / for each field to...

View Article

DFSORT/ICETOOL :: RE: SORT VSAM file with each field one by one into output file

Author: Arun Raj Posted: Tue Mar 14, 2017 8:21 pm (GMT 5.5) maxsubrat, If your input VSAM data set is of fixed-length, you could use the ICETOOL RESIZE operator to achieve this, to avoid repeating code...

View Article

DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: Arun Raj Posted: Tue Mar 14, 2017 8:41 pm (GMT 5.5)vinu78 wrote:if the extracted row count is > 1, I would like to set Return code as 0 else for all other cases, need to set RC as 4Vinu, Do...

View Article

DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: vinu78 Posted: Tue Mar 14, 2017 9:23 pm (GMT 5.5) Arun - I have to send an error email (as in STEP03), only if the number of records got from STEP01 is > 1 or for empty file. So for Rec...

View Article


DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: Arun Raj Posted: Tue Mar 14, 2017 9:30 pm (GMT 5.5)vinu78 wrote:Unfortunately my shop has SYNCSORT installed and so ICETOOL wont workIn general Syncsort shops would already have the Syncsort's...

View Article

DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: vinu78 Posted: Tue Mar 14, 2017 9:43 pm (GMT 5.5) Arun, Yes you got the requirement right. A little bit detailed mentioning is - Step01 will do SELECT query of DB2 table (using IKJEFT01 with...

View Article


DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: Arun Raj Posted: Tue Mar 14, 2017 9:58 pm (GMT 5.5) Thanks for clarifying, could you PM me your synctool error, I could take a look. Am just curious._________________Arun...

View Article

DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

Author: vinu78 Posted: Tue Mar 14, 2017 10:48 pm (GMT 5.5) Thanks Arun. Will send that once I am in office tomorrow. Thanks Vinu

View Article


CLIST & REXX :: RE: REXX cdoe to purge a JOB from spool after successful Run.

Author: sergeyken Posted: Wed Mar 15, 2017 2:12 am (GMT 5.5)Robert Sample wrote:IF the site has (E)JES -- as a vendor product, (E)JES is not installed at every site, so your suggestion has a good...

View Article

Image may be NSFW.
Clik here to view.

CICS :: RE: loading a Modified Mapset

Author: Rohit Umarjikar Posted: Wed Mar 15, 2017 5:56 am (GMT 5.5)http://ibmmainframes.com/about56188.html_________________Regards, Rohit Umarjikar"Knowledge is knowing that a tomato is a fruit, but...

View Article

IMS DB/DC :: Is the explanation correct? XRST,CHKP

Author: Martylin Subject: Is the explanation correct? XRST,CHKP Posted: Wed Mar 15, 2017 9:26 am (GMT 5.5) CHKP is a service call to save some of the data in the log DataSet, when the program failed,...

View Article
Browsing all 8500 articles
Browse latest View live