Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can generation data sets be different lengths

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Wed Dec 15, 2004 7:44 pm    Post subject: Can generation data sets be different lengths
Reply with quote

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
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Dec 16, 2004 8:18 am    Post subject:
Reply with quote

Please post these kinds of requests in the INTERVIEW QUESTIONS SECTION of the Forum Index further down on the page.
Back to top
View user's profile Send private message
tekq

New User


Joined: 15 Feb 2005
Posts: 2

PostPosted: Tue Feb 15, 2005 12:37 pm    Post subject: queries
Reply with quote

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
View user's profile Send private message
tekq

New User


Joined: 15 Feb 2005
Posts: 2

PostPosted: Tue Feb 15, 2005 12:38 pm    Post subject: reply.
Reply with quote

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
View user's profile Send private message
ksivapradeep

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Thu Feb 17, 2005 10:14 pm    Post subject: Re: queries
Reply with quote

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
View user's profile Send private message
viveksurya

New User


Joined: 08 Jun 2009
Posts: 36
Location: Bangalore

PostPosted: Thu Aug 20, 2009 5:22 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8125
Location: East Dubuque, Illinois, USA

PostPosted: Thu Aug 20, 2009 5:28 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Thu Aug 20, 2009 5:33 pm    Post subject:
Reply with quote

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. icon_rolleyes.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 20, 2009 6:25 pm    Post subject:
Reply with quote

arcvns wrote:
An incorrect solution to a 4-yr-old topic. icon_rolleyes.gif
Hopefully OP is already through the interview and 4-years experienced by now... icon_biggrin.gif
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Aug 20, 2009 8:06 pm    Post subject:
Reply with quote

Quote:
[humor on]
2. Cancel the job before 7 hours has elapsed.
[/humor off]
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 20, 2009 8:09 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 4 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us