JCL TUTE



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL TUTE

Postby Deepak kumar25 » Thu Feb 03, 2011 3:43 pm

HELLO THIS IS A PROG FOR MERGING THE CONTENT OF TWO FILES IN ONE FILE.

WHERE 01PS IS MY INPUT FIRST FILE WHICH CONTAIN THE INPUT DATA OF ONE FILE
THE CONTENTS OF FIRST FILE IS FOLLOWS
DEEPAK
KUMAR

WHERE 02PS IS MY SECOND FILE WHICH CONTAIN THE INPUT DATA OF SECOND FILE
THE CONTENTS OF SECOND FILE IS AS FOLLOWS

RAWAT
HTS

when i execute the prog then it give error
when i see the error from using start 9.s.st
it gives the error
3 ef6471 first character of name not alphabetic or not National.
4 ef6471 first characte of name not alphabetic or not National.


please help me . thanks in advance.
*********************************************************************************************************************
//FSS108AB JOB,,NOTIFY=&SYSUID
//STEP1 EXEC PGM=SORT
//SORTIN DD DSN=FSS108.KUMAR.01PS,DISP=SHR
//SORTIN DD DSN=FSS108.KUMAR.02PS,DISP=SHR
//SORTOUT DD DSN=FSS108.KUMAR.OUT1,DISP=SHR
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD*
MERGE FIELDS=(1,2,CH)
/*
Deepak kumar25
 
Posts: 34
Joined: Mon Jan 10, 2011 10:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL TUTE

Postby Robert Sample » Thu Feb 03, 2011 3:54 pm

Review the rules of data set names: 1 to 44 characters, no more than 8 characters before a period, the first character after a period must be a letter or special character not a number.

Your SORTIN and SORTOUT data set names do not fulfill all these rules, and the error message tells you exactly and precisely what your problem is.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL TUTE

Postby MrSpock » Thu Feb 03, 2011 7:28 pm

What exactly is a TUTE?
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: JCL TUTE

Postby Robert Sample » Thu Feb 03, 2011 7:46 pm

A short blast on a floot? :-)
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL TUTE

Postby MrSpock » Thu Feb 03, 2011 7:56 pm

I haven't yet mentioned that this job isn't going to work anyway, since the merge records, at least as shown in the example, aren't properly sorted based on the merging key.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: JCL TUTE

Postby mickeywhite » Thu Feb 03, 2011 8:44 pm

and two sortin DD statements
mickeywhite
 
Posts: 11
Joined: Tue Nov 02, 2010 8:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL TUTE

Postby dick scherrer » Fri Feb 04, 2011 12:05 am

And TS disappears into the sunset. . . :?
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: JCL TUTE

Postby steve-myers » Fri Feb 04, 2011 12:19 am

I think the TS meant SORTIN01 and SORTIN02?
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: JCL question

Postby Deepak kumar25 » Fri Feb 04, 2011 9:50 am

but sir what i take dsn or in what format?
Deepak kumar25
 
Posts: 34
Joined: Mon Jan 10, 2011 10:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL TUTE

Postby steve-myers » Fri Feb 04, 2011 10:15 am

Robert Sample wrote:Review the rules of data set names: 1 to 44 characters, no more than 8 characters before a period, the first character after a period must be a letter or special character not a number.

Your SORTIN and SORTOUT data set names do not fulfill all these rules, and the error message tells you exactly and precisely what your problem is.
Mr. Sample is referring to FSS108.KUMAR.01PS and the other dataset name.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Next

Return to JCL