This entry intends to provide a simplest way to edit a PROC and submit it using REXX.

Following SORT JCL takes &JOBCARD, &INPUT1, and &OUTPUT1 as input via REXX.
JCL:
FILE NAME : MAINFRAME_ID.REXX.ISPSLIB(SORT1)
//&JOBCARD
//STEP0020 EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=&INPUT1,DISP=SHR
//SORTOUT DD DSN=&OUTPUT1,DISP=(,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(50,10),RLSE),
// DCB=(RECFM=FB,LRECL=80)
//SYSIN DD *
SORT FIELDS=COPY
/*

Following REXX will take input from user, edit the JCL above, and submit it.
REXX:
VIEW MAINFRAME_ID.REXX.SYSEXEC(SKEL) - 01.08 Columns 00001 00072
****** ***************************** Top of Data ******************************
000100 /*REXX*/
000110 ADDRESS ISPEXEC
000120 "LIBDEF ISPSLIB DATASET ID('MAINFRAME_ID.REXX.ISPSLIB')" <-- holds the input (in this example the SORT proc above)
000130 "LIBDEF ISPFILE DATASET ID('MAINFRAME_ID.REXX.ISPSLIB')" <-- holds the output, if not temporary (in this example output is not temporary)
000200 SAY 'PLEASE ENTER THE INPUT FILE NAME (TO BE SORTED) :'
000300 PULL INPUT1
000200 SAY 'PLEASE ENTER THE OUTPUT FILE NAME :'
000300 PULL OUTPUT1
000200 SAY 'PLEASE PROVIDE THE JOBCAR :'
000300 PULL JOBCARD
000310 ADDRESS ISPEXEC
000400 "FTOPEN"
000500 "FTINCL SORT1" <-- INPUT file, in this case the SORT proc
000600 "FTCLOSE NAME(FINALSRT)" <-- FINALSRT is the edited (tailored) proc
000601 SAY RC
000602 ADDRESS TSO
000603 X = OUTTRAP('ABC.')
000610 "SUBMIT 'MAINFRAME_ID.REXX.ISPSLIB(FINALSRT)'" <-- Submits the edited (tailored) JCL
000620 Y = OUTTRAP('OFF')
000630 SAY ABC.1
000700 RETURN 0


Steps for obtaining a new passport:

Click on apply for fresh passport.

  • There are two ways to submit an application. One method is to submit it by filling form online. Another method is by downloading the form and filling it offline and uploading the filler form. I recommend fill it online method. Because the web application has some issues with format and xml.
  • Fill the application online and submit it.
  • Next, one needs to figure out which documents one must submit. This can be done via following:

Click on document advisor. And, select document required for fresh passport. The document advisor will suggest the evidence needed based on certain questions asked by the prompt.

  • Scan the documents suggested by the document advisor. And upload them by selecting the application in VIEW SAVED/SUBMITTED APPLICATIONS and clicking UPLOAD SUPPORTING DOCUMENTS.

 

  • Next one must get an appointment for document verification at PSK. In order to do so, select the application in VIEW SAVED/SUBMITTED APPLICATIONS and click Manage Appointment. ß Recommended time for getting appointment 3:55 pm Sunday.
  • Once the appointment is confirmed print the appointment confirmation receipt.
  • On the appointment date reach the PSK at least 30 minutes before appointment time with all documents suggested by document advisor.
  • After the passport officer grants the visa after verifying all documents. Wait for 21 days, police verification will be done.
  • After successful verification, passport will be dispatched immediately.

Following above step would get one a new passport.  Steps for renewing a passport is similar. One just need lesser documents. For instance in my case of renewal of passport  only my mailing address changed hence I only had to provide an address proof along with  a xerox of my old passport.

Hope this helps. Feel free to reach me at saurav@sauravkumar.com

 

 

 


Gone are days, when one could farm only on piece of land covered with fertile soil. In this blog entry I am gonna introduce you to a form of farming which is pervasive, yet clandestine. The form of farming I am talking about has absolutely nothing to do with bucolic activities. In fact, it’s not even remotely linked to the latter. Yet, it suits to be the topic of today’s post. And the reason is that, behind any form of farming the aim is to get the fruitful outcome of the invested effort, and monetary inputs. This form of farming is called .COM Farming. Continue reading


Does your website looks like stale breakfast served by your step mom? Does it lack the liveliness which today’s dynamic websites purport? If your answer is yes to either of the questions, then my friend, you must read this post till the end.

If your website looks something like this —> http://www.gogoperfume.com/ and not like http://www.theperfumeshop.com/. Then chances are you are disappointing a lot of visitors. Consequently you’re not doing as well as your competitor, who is mustered with the tools necessary to satiate today’s web surfer’s surfing appetite. Continue reading



saurav kumar books

Web Developers' Choice

Hi! It’s been quite some time since I posted something useful. My today’s entry will broach some of the vital resources which can aide you kick start your career as a web developer.

For those who prefer to use internet as well as for those who prefer to have easy access to an online library, there are several websites which offer free study materials aka CBT packages. The first site you should visit to learn the basics as well as advanced web technologies is W3SCHOOLS.

You might also wanna check out the materials at HTML DOG, if you are still not comfortable with HTML. Continue reading


www.sauravkumar.com

Hi! Today I am gonna babble about SEO. Yes, many know that it stands for Search Engine Optimization and it has something to do with search engines. But, what many don’t know is how to achieve high rank. If I started web development today then I would have said “We can rank high on any search engine by using meta-tags and titles and keywords and blah blah blah.” Luckily, I am developing websites since 2004 and now have a firm grip on do’s and dont’s of SEO. Continue reading