View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
1. can generation data sets be different lengths
2. a job executes for 10 hours,how to make it to execute in 7 hours(other than class parameter)
3.my jcl is in jcllib & proc in proclib,my job executes fine when i run today but when i run the same job after 2 days i am getting proc not found error
,i didn't make any changes anywhere
4.in proc i am using the symbolic parameters,in my job i use different ,will the sysmbolic parameter gets overwrite
5.i am a data set with 900 records,create 3 output's files with 300 records each |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Please post these kinds of requests in the INTERVIEW QUESTIONS SECTION of the Forum Index further down on the page. |
|
Back to top |
|
|
tekq
New User
Joined: 15 Feb 2005 Posts: 2
|
|
|
|
i have a data set with 900 records,i want to create 3 output's files with 300 records each,what is the syntax |
|
Back to top |
|
|
tekq
New User
Joined: 15 Feb 2005 Posts: 2
|
|
|
|
my jcl is in jcllib & proc in proclib,my job executes fine when i run today but when i run the same job after 2 days i am getting proc not found error
,i didn't make any changes anywhere |
|
Back to top |
|
|
ksivapradeep
New User
Joined: 30 Jul 2004 Posts: 95
|
|
|
|
hi,
for spliting a file in to 3 o/p files u sort utility with OUTFIL
//SYSIN DD *
SORT FIELDS=COPY,SPLIT BY=300
OUTFILFNAMES=(FILE1,FILE2,FILE3)
/*
//
one thing is i am not sure about the split by syntax plz check it out ok
regards.
siva pradeep |
|
Back to top |
|
|
viveksurya
New User
Joined: 08 Jun 2009 Posts: 36 Location: Bangalore
|
|
|
|
1. yes
2. You can also change the priority
4. yes
5. splitting files: Use SORT utility
//SORTIN DSN=INPUT,DISP=SHR - has 900 records
//SORTOF1 DSN=...... Output-1
//SORTOF2 DSN=...... Output-2
//SORTOF3 DSN=...... Output-3
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL FILES=1,STOPSFT=300
OUTFIL FILES=2,STOPSFT=300
OUTFIL FILES=3,STOPSFT=300
//* |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
viveksurya, this came up
Quote: |
PostPosted: Wed Dec 15, 2004 10:14 am |
I suspect the questions may have been answered already. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Quote: |
OUTFIL FILES=1,STOPSFT=300
OUTFIL FILES=2,STOPSFT=300
OUTFIL FILES=3,STOPSFT=300 |
An incorrect solution to a 4-yr-old topic. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
arcvns wrote: |
An incorrect solution to a 4-yr-old topic. |
Hopefully OP is already through the interview and 4-years experienced by now... |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Quote: |
[humor on]
2. Cancel the job before 7 hours has elapsed.
[/humor off] |
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
3.my jcl is in jcllib & proc in proclib,my job executes fine when i run today but when i run the same job after 2 days i am getting proc not found error
,i didn't make any changes anywhere |
Yeah, that's what they all say. |
|
Back to top |
|
|
|