IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we pass a file from sysin dd * or parm


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ipavan

New User


Joined: 12 Jun 2005
Posts: 28
Location: Hyderabad

PostPosted: Wed Jul 20, 2005 9:46 pm
Reply with quote

1. I have created a gdg in the first step and i want to use it as output file in the second step. i mean , i want to write the output of my second step into the gdg created in the first step.

2. how frequently passwords are changed in real time environment for a user.

3. can we pass a file from sysin dd * or parm.
I have got a reply from forum that we can do it as
sysin dd *
lib'xxxx.yyy.zzzz'
//

if the above is true how to use the file xxxx.yyy.zzzz in the cobol program, i mean how to capture the file in cobol program.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Jul 20, 2005 9:57 pm
Reply with quote

Hello ipavan,

Quote:
1. I have created a gdg in the first step and i want to use it as output file in the second step. i mean , i want to write the output of my second step into the gdg created in the first step.

You should use GDG(+1), DISP=MOD in second step O/P DSN.

Quote:
2. how frequently passwords are changed in real time environment for a user.

Think it should be different from organization to org'n.....Is there any standard time period ?....

Quote:
i mean how to capture the file in cobol

Means what ?

Regards,

Priyesh.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jul 21, 2005 12:42 am
Reply with quote

ipavan wrote:
3. can we pass a file from sysin dd * or parm.
I have got a reply from forum that we can do it as
sysin dd *
lib'xxxx.yyy.zzzz'
//

if the above is true how to use the file xxxx.yyy.zzzz in the cobol program, i mean how to capture the file in cobol program.


I'm with Priyesh. What exactly are you trying to do with this logic? Are you passing the name of a dataset to a program? Or, are you trying to pass the contents of a dataset?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jul 21, 2005 12:45 am
Reply with quote

ipavan wrote:
2. how frequently passwords are changed in real time environment for a user.

Sarbanes-Oxley, SAS-70, HIPAA, and other legislation have made the limit to be typically no more than 90 days. Most shops have always set a 30-day limit.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top