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 ArticleDB2 :: 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 ArticleDB2 :: 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 ArticleJCL & 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 ArticleJCL & 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 ArticleDFSORT/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 ArticleDFSORT/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 ArticleDB2 :: 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) Vinu, Do you need to issue a separate return-code when exactly 1 row is returned? Just trying to understand if we have 3 scenarios here. Your...
View ArticleDB2 :: 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 ArticleDB2 :: 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 ArticleDB2 :: 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 ArticleDB2 :: 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 ArticleDB2 :: 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 ArticleCLIST & 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 ArticleCICS :: 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 ArticleIMS 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 ArticleDB2 :: RE: JCL to Set Return code based on DB2 SQL query result
Author: vinu78 Posted: Wed Mar 15, 2017 10:37 am (GMT 5.5) Arun, The ICETOOL is working fine //STEP01 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //INPUT DD DSN=<flat file that has...
View ArticleTSO/ISPF :: SDSF and SAF security
Author: danik56 Subject: SDSF and SAF security Posted: Wed Mar 15, 2017 12:51 pm (GMT 5.5) I've been trying to setup SDSF SAF security as documented by IBM. Activated the SDSF & JESSPOOL classes...
View ArticleJCL & VSAM :: RE: Updating a VSAM file with DISP=OLD
Author: UmeySan Posted: Wed Mar 15, 2017 2:18 pm (GMT 5.5) @ sheersh Just my two cent too: Also think about the vsam share levels. Parallel updates. I come across this, because you told that the same...
View ArticleTSO/ISPF :: RE: SDSF and SAF security
Author: UmeySan Posted: Wed Mar 15, 2017 2:39 pm (GMT 5.5) @ danik56 Could be a trivial matter. I remember Owner and Prefix filters in SDSF._________________Regards, UmeySan
View Article