Search found 9 matches

by vijay_10b
Tue Feb 04, 2014 4:36 pm
Forum: JCL
Topic: How to check the return code of PROC
Replies: 4
Views: 8040

Thank you NIC

COND=(4,EQ,STEP3.PS010) worked (*stepname.procstepname)
by vijay_10b
Mon Feb 03, 2014 8:34 pm
Forum: JCL
Topic: How to check the return code of PROC
Replies: 4
Views: 8040

How to check the return code of PROC

Hi, I have a JCL which has 7 steps, Step 3 execute a proc (which checks the given file is empty or not). step4 is executed with COND=(4,EQ).....now i'm getting error "JCP0516E INVALID REFERBACK 'STEP3' DETECTED" in the step7 while testing the Step 3 RC structure of program //AAAAA JOB (00030000,1111...
by vijay_10b
Fri Jun 07, 2013 5:32 pm
Forum: JCL
Topic: How 2 compare creation date of GDG's Generations & curre
Replies: 5
Views: 8382

create Sort Control statements to compare the values from the system and the LISTCAT.

Hi DikDude
Can you please provide me any reference link or example it will be very helpful.........i'm not sure how to extract the date from LISTCAT.

Thankyou
by vijay_10b
Thu Jun 06, 2013 2:36 pm
Forum: JCL
Topic: How 2 compare creation date of GDG's Generations & curre
Replies: 5
Views: 8382

How 2 compare creation date of GDG's Generations & curre

Hi, Can you someone guide me on the below issue. We have GDG xxx.yyy with generation Gnn1,Gnn2..... which is generated for each day. In another job we are using the above GDG's current Generation has xxx.yyy(0) , Now we need to confirm the date for current version and execute the job........if the c...
by vijay_10b
Fri Sep 07, 2012 9:12 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: How to fetch and compare the system date in JCL
Replies: 14
Views: 22496

How to fetch and compare the system date in JCL

Ty for ur critics and view..................got the solution //ANO03364 JOB (234),'TEST',CLASS=A,NOTIFY=&SYSUID //STEP1 EXEC PGM=SORT //SORTIN DD DSN=ANO0336.TRNG.PS,DISP=SHR //SORTOUT DD DSN=ANO0336.TRNG.PSTEST,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(4,2)),DCB=(LRECL=40,BLKSIZE=400,RECFM=FB, // DSO...
by vijay_10b
Fri Sep 07, 2012 8:21 pm
Forum: JCL
Topic: How to Bypass a step?
Replies: 1
Views: 3654

How to Bypass a step?

Hi,

I have 5 steps, in step 2 i'm checking dataset is empty or not........... i want to skip to step 4 if the dataset is empty without executing step 3............is it possible.............if so can you pls help me with syntax...
by vijay_10b
Wed Sep 05, 2012 5:47 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: How to fetch and compare the system date in JCL
Replies: 14
Views: 22496

How to fetch and compare the system date

Then can you please suggest me how to compare the PS records with system/current date..............so i can sort the PS records based on the system/current date ........................

or any other utility to do above task...............
by vijay_10b
Wed Sep 05, 2012 5:28 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: How to fetch and compare the system date in JCL
Replies: 14
Views: 22496

How to fetch and compare the system date

I referred few examples in Google search ..........and using //SYSNAMES DD * CURDAT,S'&YR2.&MON.&DAY' is this a valid jcl statement? because i'm not getting any error. And as per ur suggestion i changed the format of CURDAT and for //SYSIN DD * SORT FIELDS=COPY INCLUDE COND=(12,8,CH,LE,CURDAT) OUTRE...
by vijay_10b
Wed Sep 05, 2012 2:54 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: How to fetch and compare the system date in JCL
Replies: 14
Views: 22496

How to fetch and compare the system date in JCL

Hi, Can some one help me on this....I need to fetch the system date and sort the PS record matching with system date.................i used the following method but getting o/p blank............date in PS record in the format yyyymmdd ........... if i can get yymmdd also fine //xxxxx JOB (234...